Security Tokens in the restricted mode need addresses to be whitelisted. Addreses are whitelisted using a KYC smart contract.
Deploying KYC smart Contract¶
To deploy the
KYC smart contract:
sto --config=myconfig.ini kyc-deploy
If the smart contract is already deployed then it wont be re-deployed.
Whitelist an ethereum address¶
Adresses can only whitelisted by the owner of the smart contract:
sto --config=myconfig.ini kyc-manage --whitelist-address='0x2B5AD5c4795c026514f8317c7a215E218DcCD6cF'
The command will also broadcast the transaction to the ethereum network. There is no need to run command