pnpm install- Install dependenciespnpm run dev- Run development server to listen for changespnpm run build- Build the projectpnpm run start- Run the built project (will run app.ts)pnpm run lint- Run linterpnpm run format- Run formatterpnpm run test- Run tests (lol)pnpm test:watchto run tests in watch (loop) modepnpm test:coverageto see the tests coverage report.
nr scrape --chains terra juno osmosisStaking contracts are stored in the CONTRACTS data structure in ANS. Key:
{
protocol: 'junoswap',
contract: 'staking/juno,osmo',
}
Value:
junoxxxx
Assets are stored in the ASSETS data structure in ANS. Key:
dao
Value:
{
"cw20": "juno1lqhg97uxqlm7qhl4dylm2ynzf6z8r3px9epc23epkcu3703tal7qwj6vun"
}
IBC Tokens are stored with the key ORIGIN_CHAIN>ASSET_NAME, for example:
Key:
terra>ustc
Value:
{
"native": "ibc/2DA4136457810BCB9DAAB620CA67BC342B17C3C70151CA70490A170DF7C9CB27"
}
This can be chained to express multi-hopped assets ORIGIN_CHAIN>INTERMEDIATE_CHAIN>ASSET_NAME.
Key:
"junoswap/crab,junox"
Value:
{
"cw20": "juno1lgsnuhss0s9swc3ykeh32r8z60gses0dhawzl2wtdeatncrqm3jq8vfpn2"
}