Recall that transferable records is held using a joint ownership structure. In this section, we will deploy a title escrow smart contract that describes the joint ownership interaction between a
beneficiary of a transferable record.
To help you draw parallels to the physical world:
holderis the entity in physical possession of the transferable record
beneficiaryis the legal owner (usually printed on the document itself) of the transferable record
Both value refers to an Ethereum address which can execute different sets of actions depending on their roles.
Deploying Title Escrow Contract
Before we deploy the title escrow, we will need to identify the
holder of the transferable record. The
holder may be the same.
In the example, we will use
0x6FFeD6E6591b808130a9b248fEA32101b5220eca for both values. You will need to replace this value with a wallet address you control to be able to perform different actions on the transferable records later.
To deploy a title escrow contract, run the following commands:
Note that you have to replace the beneficiary & holder address as well as the token registry address with your own.
Once the title escrow contract has been deployed, you will see an output similar to the following:
Store the contract address of the title escrow for use later.