Setting up the LC workflow

To set up our LC module, we'll be following these steps:

  1. Writing, compiling, and deploying our USD asset contract. Since we need a fungible asset to represent the USD, we'll be using the ERC20 contract standard to create this asset. 
  2. Capturing the address of the USD token and mapping it to our LC Master and LC smart contracts. This address will be used to invoke the USD smart contract when transferring funds.
  3. Writing the LC Master and LC smart contracts. We'll deploy the LC Master contract to the blockchain. The LC smart contract will be used only as an interface by the LC Master. It will be imported as part of the LC Master code, and will not be actually deployed using truffle. All new LCs deployed will be created using this interface. 
  4. Deploying the LC Master smart contract.
  5. Creating our React application for creating, viewing, and settling LCs.
  6. Running and testing the application.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.146.152.99