GithubHelp home page GithubHelp logo

Etica Smart Contract

Welcome to the Etica smart contract repository, powering the core system of the Etica Protocol.

Meticulous Hardfork | Etica v2 Enhancements

  • Quadratic Voting: The incorporation of quadratic voting introduces a pioneering method to distribute voting power more equitably within the Etica ecosystem, providing safeguards against disproportionately influential votes.

  • ETI Recovery System: A dedicated system has been implemented to facilitate the recovery of ETI in situations where commits remain unrevealed.

  • Difficulty Adjustment Update: The block difficulty adjustment mechanism has been refined, transitioning from a 2016-block cycle to a more responsive 144-block cycle.

  • ETI Collateral Requirement: The collateral needed for proposals in ETI has been increased, moving from 10 to 100 ETI. This adjustment aims to ensure a more meaningful commitment to proposals.

  • Validation of Etica Network Upgrade Process: The update has been tested with a robust validation mechanism for the Etica blockchain, thanks to a secure network upgrade process.

  • Mining Vulnerability Fix: A critical mining vulnerability related to 0xBtc has been addressed to enhance the overall security of the system.

  • Etica Smart Contract Optimizations: Various optimizations have been applied to the Etica smart contract, enhancing efficiency and overall performance.

Project Details

  • Version: 2.0.0
  • License: ISC (Internet Systems Consortium)

Deployment and Testing

Transition to Hardhat

As Truffle has ceased its support and the Truffle project is set to close, this repository has migrated from Truffle to Hardhat for deployment and testing.

Legacy Versions

Legacy versions of the Etica smart contract can be found in the contracts/legacy-versions/v1 directory.

Running Tests

Tests located in /test need to be migrated from Truffle to Hardhat. However, these tests can be run using the legacy v1 smart contract with Truffle.

To run tests with Truffle:

truffle test

Hardhat example tasks:

```shell
npx hardhat help
npx hardhat test
npx hardhat run scripts/deploy.js --network crucible

Etica's Projects

chains icon chains

provides metadata for networkIDs and chainIDs

core-geth icon core-geth

A highly configurable Go implementation of the Ethereum protocol.

dna-diffusion icon dna-diffusion

🧬 Generative modeling of regulatory DNA sequences with diffusion probabilistic models 💨

egaz-pool icon egaz-pool

A mining pool to mine EGAZ, the cryptocurrency to secure and pay for txs fees on Etica Blockchain (fork of open-etc-poo-friends)

etica icon etica

The smart contract that handles the core system of the Etica Protocol. Join and build

etica-explorer-engine icon etica-explorer-engine

A comprehensive Node.js toolset designed for Etica blockchain data extraction. This powerful engine efficiently extracts blockchain data and state, enabling the creation of insightful analytical scripts

etica-node-crawler icon etica-node-crawler

Attempts to crawl the Etica network of valid Etica Nodes and visualizes them in a nice web dashboard.

etica-socialnetwork-api icon etica-socialnetwork-api

etica-socialnetwork-api is an open-source API for handling comments, feedback, and interactions on the Etica platform. Built with Fastify, it ensures efficient and scalable communication between researchers, voters, and participants in the Etica ecosystem.

eticapool icon eticapool

Eticapool is a mining pool softaware to mine ETI cryptocurrency. It is based on tokenpool developed by InfernalToast with help from the 0xBitcoin Community (https://github.com/0xbitcoin/tokenpool)

exchange-listing-donate icon exchange-listing-donate

html to display a static eth address balances across several assets. Using for a webfront for a donations address.

molstar icon molstar

A comprehensive macromolecular library

pymol-open-source icon pymol-open-source

Open-source foundation of the user-sponsored PyMOL molecular visualization system.

rosettafold icon rosettafold

This package contains deep learning models and related scripts for RoseTTAFold

soliditysha3minereticaoptimised icon soliditysha3minereticaoptimised

SoliditySHA3MinerEticaOriginal optimised by Dmitry. This has been the main miner used by Etica community to mine ETI since October 2022

soliditysha3minereticaoriginal icon soliditysha3minereticaoriginal

All-in-one mixed multi-GPU (nVidia, AMD, Intel) & CPU miner solves proof of work to mine supported EIP918 tokens in a single instance (with API).

tedicross icon tedicross

Bot which bridges Telegram chats with Discord channels

web3.php icon web3.php

A php interface for interacting with the Ethereum blockchain and ecosystem. Native ABI parsing and smart contract interactions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.