Connect as an Exchange
Install tools
wget https://github.com/AntelopeIO/leap/releases/download/v4.0.6/leap_4.0.6-ubuntu22.04_amd64.deb
sudo apt install ./leap_4.0.6-ubuntu22.04_amd64.deb
rm ./leap_4.0.6-ubuntu22.04_amd64.deb
# create an alias that connects to the correct API
alias cleostonomy="cleos -u https://blockchain-api.tonomy.io"
# check working
cleostonomy get infogit clone https://github.com/Tonomy-Foundation/Tonomy-ID-SDK
cd Tonomy-ID-SDK
corepack enable
yarn
export NODE_ENV=production
yarn run build:cli
# check working
yarn run cli --helpStep 1: Create keys
cleostonomy create key --to-consoleyarn run cli keys createimport { setSettings, generateRandomKeyPair } from '@tonomy/tonomy-id-sdk';
setSettings({ blockchainUrl: "https://blockchain-api.tonomy.io" });
const keyPair = generateRandomKeyPair();
console.log('Public key: ', keyPair.publicKey.toString());
console.log('Private key: ', keyPair.privateKey.toString());Step 2: Create an account
Step 3: Get some TONO for allocation to investors
Step 4: Collect user's Tonomyaccount
Step 5: Withdraw TONO or allocate vested TONO
Allocate vested TONO
Withdraw (unvested) TONO
Troubleshooting
Last updated