Set up a Sui Keypair
In order to deploy a Move module to the Sui blockchain, you will need to have a keypair locally set up.
To create your keypair:
Make sure you have installed Sui via the official guide.
Initiate a local configuration by running
sui genesis
(This step will create a local keypair)Run
sui client active-address
to check your newly created keypair address (public key)Fund the address with using
SUI
. This can be done using the faucet available in the Sui Discord devnet-faucet channel.Once the address is funded, go back to the terminal and run
sui client gas
to view theSUI
that has been sent to you. The output should look like this:
Note: the object ID refers to the ID of your Coin objects whilst the Gas Value refers to the amount of SUI. The conversion is 0.01 SUI = 10,000,000 Gas
Voila!
You can now use one of your Coins to deploy the Move module to the blockchain.
Last updated