Skip to content

equilibrium-eosdt/equilibrium-substrate-chain

Repository files navigation

Equilibrium

Equilibrium is introducing the first cross-chain money market that combines pooled lending with synthetic asset generation and trading.

Currently, 90% of the Defi market is locked on Ethereum. However, Ethereum only comprises 12% of crypto overall. Vast market potential for DeFi remains untapped. Equilibrium will unlock the remaining full potential of DeFi.

Using Polkadot’s advanced substrate technology to create its own blockchain, Equilibrium will extend its DeFi product line to a one-stop cross-chain money market. It is designed to end market segmentation and will let users conveniently fill all their DeFi needs in one place -- uniting decentralized liquidity pools, enabling cross-chain lending with built-in synthetic assets, and advanced price discovery and bailout mechanics to ensure maximum liquidity.

Users will be able to trade multiple crypto assets from Equilibrium’s native decentralized exchange and use its convenient interface to manage their assets across multiple blockchain protocols, without new logins.

Please read Equilibrium’s White Paper to learn more and visit the Equilibrium website: www.equilibrium.io

Our roadmap

Stage Features User can
Stage 1 Launch of the Equilibrium’s substrate
Interconnection with Ethereum
Utilize ETH & DOT assets
Earn on bailing out
Borrow stablecoins
Stage 2 Equilibrium’s substrate becomes Polkadot parachain
Launch of pooled lending
Interconnection with Bitcoin and COSMOS
MVP of the interoperable DEX
Utilize additionally BTC & COSMOS-based assets
Lend and borrow crypto
Trade on DEX
Stage 3 Interconnection with EOS and Tezos
Synthetic asset generation
Beta version of the interoperable DEX
Margin trading
Utilize additionally EOS & XTZ assets
Borrow synthetic assets pegged to multiple fiat currencies, commodities, stocks etc.
Trade on margin
Stage 4 More blockchains interconnected
Delta hedging
Utilize more assets
Hedge portfolio automatically

Run

Single node development chain

Purge any existing developer chain state:

curl https://getsubstrate.io -sSf | bash -s -- --fast

./scripts/init.sh
cargo build --release

cargo tests

cargo check --tests

Launch all tests

cargo t
./target/release/eq-node purge-chain --dev

Start a development chain with:

./target/release/eq-node --dev

Launch all integration tests (with dev node launched and listening on localhost:9944)

cargo r -p eq-integration-testing

https://polkadot.js.org/apps/#/explorer

Select network: Local Node (Own, 127.0.0.1:9944)

Change settings for custom types: Settings -> Developer ->

{
    "Address": "AccountId",
    "LookupSource": "AccountId",
   "Keys":"SessionKeys2",
   "Balance":"u64",
   "FixedI64":"i64",
   "SignedBalance":{
      "_enum":{
         "Positive":"Balance",
         "Negative":"Balance"
      }
   },
   "Currency":{
      "_enum":[
         "Unknown",
         "Usd",
         "Eq",
         "Eth",
         "Btc",
         "Eos"
      ]
   },
   "BalancesAggregate":{
      "total_issuance":"Balance",
      "total_debt":"Balance"
   }
}

Benchmarks

Build

cd ./node
cargo build -p eq-node --release --features runtime-benchmarks

Run benchmark

cd ./palllets/<pallet-name>/src
../../../target/release/eq-node benchmark --chain dev --execution=wasm --wasm-execution=compiled --pallet <pallet_name> --extrinsic "*" --raw --steps 10 --repeat 5 --output

You will get as result benachmarks.rs file with WeightInfo for pallet's extrinsics.

License

Equilibriun substrate is [GPL 3.0 licensed].

Releases

No releases published

Packages

No packages published