MATH SPEC 📄 | DISCORD 🌐 |
Invariant protocol is an AMM built on Vara Network, leveraging high capital efficiency and the ability to list markets in a permissionless manner. At the core of the DEX is the Concentrated Liquidity mechanism, designed to handle tokens compatible with the gFT(ERC-20) standard.
- Rust & Cargo (rustup)
- Install required packages
- Configure Rust toolchain
- Install Gear node
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shsudo apt install -y build-essential clang cmake curlrustup install 1.78
rustup target add wasm32-unknown-unknown --toolchain 1.78cargo install wasm-opt --lockedin release mode
chmod +x ./build.sh
./build.shfor tests
chmod +x ./build.sh
./build.sh devchmod +x ./tests.sh
./tests.shrun it in the desired location as dev
path/to/node/gear --devor run it through CI in sdk folder
cargo xtask node
npm run node:localTo build SDK go to the dedicated folder SDK
- Build sdk
chmod +x ./build.sh
./build.sh- Run sdk tests
chmod +x ./tests.sh
./tests.sh