ETHx is a multi pool architecture for node operations, designed for decentralization, scalability, and resilience. This design is integral to our ability to democratize node operations and adapt to increasing demand. Our structure includes a permissionless pool, where anyone can participate and operate nodes, thereby fostering widespread participation. Alongside this, we also feature a permissioned pool. This is a select group of validators known for their consistent high performance.
NOTE
: Default Branch for repo is mainnet_V0
npx hardhat compile
npx hardhat run scripts/deployContracts.ts
npx hardhat compile
npx hardhat run scripts/verifyContracts.ts
Installing foundry:
# install foundry
curl -L https://foundry.paradigm.xyz | bash
# extra step for macOS
brew install libusb
# run
foundryup
npm install
forge install
Using the test suite:
forge build
forge test
forge test --gas-report
forge coverage
Check the Integration guide here
This project incorporates code from the following external sources:
-
Compound Labs, Inc. (licensed under the BSD-3-Clause License)
-
Ben Hauser (licensed under the MIT License)
The borrowed code contributes to 'SDUtilityPool.sol for computing fee, utilizer balance and exchange rate for a C-token based model' and 'SDIncentiveController.sol for computing incentivize rewards to the delegator of UtilityPool' respectively. For further details on the specific code sections and their respective licenses, please refer to the Third-Party Licenses file.
Link to Third-Party Licenses: