Quick execution steps:

  1. Compile all the maps in the example.
    • Using Design Studio, execute the script in folder .\ediblockchain\compileall.bat.
    • Using Design Server, the ediblockchain example is in the project edifactExampleBlockChain.zip. After import, create a package for the project and build the package.
  2. Execute the folder .\ediblockchain\buyer.
    • Using Design Studio, open the BuyerOrderMaps.mms and run the top level map aBuyerNewOrder
    • Using Design Server, open the aBuyerNewOrder map and run.

      This executes all the block chain participants.

Execution flows from the buyer with a purchase order, to the supplier who communicates with the purchaser and the carrier for shipping, and the carrier who identifies the trucks used for delivery. Each block contains information relevant to the partner or participant.

Using Design Studio, folder .\ediblockchain\blockchain\journal contains example results:
  • orderChain.dat contains the chain data
  • orderChainInfo.dat is the partner information and keys to chain data
Using Design Server:
  • Execute map aViewOrderChain and view the output to see the chain data
  • Execute map aViewOrderChainInfo and view the output to see the partner information and keys to the chain data