Skip to content

0x7lm/ethx

Repository files navigation

License: GPL v3

Overview

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.

Resources

Deploy

NOTE: Default Branch for repo is mainnet_V0

npx hardhat compile
npx hardhat run scripts/deployContracts.ts

Verify

npx hardhat compile
npx hardhat run scripts/verifyContracts.ts

Tests

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

Integration

Check the Integration guide here

Dependencies

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:

THIRD-PARTY-LICENSES.md

About

ETHx Auditing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 94.5%
  • TypeScript 5.4%
  • Dockerfile 0.1%