nestquant-vault-sdk
v0.0.15
Published
## Cross-chain Deposit Flow <picture> <img alt="Deposit Flow" src="./docs/Deposit.png"> </picture>
Downloads
45
Maintainers
Readme
NestQuant Vault
Cross-chain Deposit Flow
Cross-chain Withdraw Flow
EVM user
Installation
- Run
yarn
to install all dependencies
yarn
yarn install v1.22.21
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 🔨 Building fresh packages...
✨ Done in 12.74s.
Create .env file with same structure like .env.example
Run
yarn compile
to compile all evm smart contracts
yarn compile
yarn run v1.22.21
$ npx hardhat compile
Generating typings for: 54 artifacts in dir...
Successfully generated 174 typings!
Compiled 43 Solidity files successfully (evm target: paris).
✨ Done in 3.56s.
- Run
yarn wasm-build
to build wasm contract files
sudo yarn wasm-build
yarn run v1.22.21
$ cwtools build orai-gateway --output wasm-build --optimize
Building contract in ...
Optimizing ...
328 kB ...
✨ all done in 7139 ms!
✨ Done in 7.91s.
- Run
yarn schema-gen
to gen schemas
sudo yarn schema-gen
yarn run v1.22.21
$ cwtools build -s orai-gateway
...
✨ all done in 2382 ms!
✨ Done in 3.11s.
- Run
yarn gents
to gen all clients and types of wasm smart contracts
sudo yarn gents
yarn run v1.22.21
$ cwtools gents orai-gateway --output wasm-ts
✨ all done in 214 ms!
✨ Done in 1.07s.
- Run
yarn test
to run all test
...
69 passing (10s)
✨ Done in 12.49s.