Skip to content

chanblockvision/navi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Examples of contract call about Navi Protocol

Setup Tools

  • Clone Repository: git clone https://github.com/naviprotocol/examples.git

  • Install nodejs dependencies: yarn install

  • Edit your mnemonic and the network names you need to use.

    $ cat .env
    MNEMONIC="test test test test test test test test test test test test" # Replace it with your mnemonic
    NETWORK="mainnet"
    FULL_NODE=""
    
  • The function entry is main.ts, Select the method you want to call and modify the parameters. And then, launch it

    $ yarn start
    
  • If you just want to query some pools about incentives v2, you can run: npx ts-node ui_getter.ts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%