Skip to content

Latest commit

 

History

History

scripts

Scripts

This directory contains different scripts used to build transactions (for multi-sig operations).

Setup SuiNS locally

To setup a local instance of SuiNS (or in any network of your choosing), all you need to do is call:

# choose from mainnet, testnet, devnet, localnet
export NETWORK=localnet
pnpm ts-node init/init.ts

This will automatically publish all the packages in the correct order, collect all the variables in a published.json file, as well as do a full on-chain setup (creation of the registry, addition of pricelist, authorization of all apps as well as calling their respective setup functions).

Then, you can use these published variables to the SDK and call different actions (e.g. registering names, subnames etc)

Do not check-in the Move.lock and Move.toml changes if you are submitting a PR.