In this final step, we will create the transferable record and initialize the first owner of that to the title escrow we have created earlier.
You will require the following:
- token registry address
- private key to token registry (key.txt)
- title escrow contract address
- merkle root of the wrapped transferable record
To issue the transferable record, simply run the following command:
Note to replace the following values:
0x8431012Bc040942B59e3C5bf428221eab0b2f723with your token registry contract address
0x0d9839a8034cb783d98bd57bcbaafb4dc3614c4193d2edf8a655c1ec6635b7eawith your merkle root (with a
0xec733A8322f8216eaf8e5566e750bfee3974B7f3with your title escrow contract address
Once the document has been issued, you will be able to see an output similar to the following:
Congratulation, you have successfully created your first transferable record.
To view your transferable record, simply head over the https://dev.tradetrust.io/ (or https://tradetrust.io/ if you've issued to the Ethereum mainnet). You will be able to drop your transferable record (found in
wrapped-documents folder) into the dropzone and see something similar to the following:
Notice you are able to click on
Connect Wallet when logged in to either the beneficiary or holder to gain access to actions to change the ownership of the transferable record.