Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 843 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 843 Bytes

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.