How to deploy a Sponsor Wallet
Create a simple wallet to sponsor your operations with TVM CLI
Build and install CLI tool
Now path to tvm-cli is publicly accessible. You can also add it to your ENVs
export PATH=$PATH:~/tvm-sdk/target/release/tvm-cli
Prepare wallet binary and ABI
Create a folder :
Download source files for the wallet from wallet repo and place them into this folder.
This is a test wallet, not a production wallet that underwent Formal Verification. We are working on multisig wallet that will be published soon. Deployment process, although will be the same.
Configure CLI tool
We need to target it to the blockchain we will deploy to.
Here we target at testnet.
Generate seed phrase, keys and address
In Acki nacki blockchain the wallet address depends on its binary code and initial data that includes the owner's public key.
You can do it all with one command
Raw address is your wallet address. Keys are saved to wallet.keys.json.
Copy your seed phrase if you need it.
Request test tokens
Request test tokens on your address. If you plan to test your contract systems then request enough tokens, as this wallet will be used as sponsor wallet for gas.
Please contact us in Channel on Telegram.
Deploy your wallet
When you receive the tokens check the state of the pre-deployed contract. It should be Uninit
:
Now you are ready to deploy your wallet with the following command:
The arguments of the constructor must be specified in curly brackets:
{<constructor arguments>}, We dont have any arguments here, so its empty.
Check the contract state again. This time, it is should be Active
.
Last updated