0.1.21 • Published 8 months ago

@invariant-labs/vara-sdk v0.1.21

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

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.

🔨 Getting Started

Prerequisites

  • Rust & Cargo (rustup)
  • Install required packages
  • Configure Rust toolchain
  • Install Gear node

Rust & Cargo

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Install required packages

sudo apt install -y build-essential clang cmake curl

Configure Rust toolchain

rustup install 1.78
rustup target add wasm32-unknown-unknown --toolchain 1.78

Install wasm-opt

cargo install wasm-opt --locked

Build protocol

in release mode

chmod +x ./build.sh
./build.sh

for tests

chmod +x ./build.sh
./build.sh dev

Run tests

chmod +x ./tests.sh
./tests.sh

Running local node

run it in the desired location as dev

path/to/node/gear --dev

or run it through CI in sdk folder

cargo xtask node
npm run node:local

SDK

To 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
0.1.21

8 months ago

0.1.10

10 months ago

0.1.11

9 months ago

0.1.12

9 months ago

0.1.13

9 months ago

0.1.14

9 months ago

0.1.15

9 months ago

0.1.20

9 months ago

0.1.16

9 months ago

0.1.8

10 months ago

0.1.17

9 months ago

0.1.7

10 months ago

0.1.18

9 months ago

0.1.19

9 months ago

0.1.9

10 months ago

0.1.4

10 months ago

0.1.6

10 months ago

0.1.5

10 months ago

0.0.1

12 months ago

0.0.0

12 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.1.3

11 months ago

0.1.0

1 year ago