The token registry is a smart contract on the Ethereum network that records the ownership information of a transferable record. It is compliant to the ERC721 standards.
In this guide, we will deploy a token registry smart contract on the Ethereum
ropsten network which is a test network that does not require actual ethers for transactions.
- OpenAttestation CLI installed
- Private key to an Ethereum wallet with sufficient ethers
Deploying via OpenAttestation CLI
Creating the key file
Create a file
key.txt with the private key of your Ethereum wallet and save it in your working directory. If you are using Metamask, you may retrieve this key from the extension in this guide.
key.txt file content (replace with your private key):
Do not share this file with anyone else!
Deploying the token registry
Simply run the following command. You may replace the
<registry-symbol> with a suitable name and symbol (usually 3 characters).
This will deploy the token registry on the
ropsten network. You should see a similar output when the deployment is successful:
In this case, our contract has been successfully deployed on ropsten at the address
Save YOUR token registry address for future reference