Demo - Baselining Excel with Baseledger and Trustmesh


*** It is recommended that you do the "How to drop a proof" guide before attempting this one

This is a simplified guide based on the instructions in the official Baseledger Docs

https://docs.baseledger.net/howtos-1/how-to-sync-two-excel-sheets-with-baseledger

 



Part 1 - Setup the Spreadsheet and workgroups

Step 1 - Download Spreadsheet

Download and open the excel spreadsheet from the Baseline Protocol examples repo

https://github.com/eea-oasis/baseline/blob/main/examples/baseledger-excel/BaseledgerExcel.xlsm

38b6facce4db2cc56baa1ba2e9f487f741b909c0ee331696e55eae49b502d4ef.png

Once you have download make sure to enable editing and macros

4d75a5e32f311f6361c8dc3789a64e4bbbde92e36aa7ba93252dc19a59bd6b2d.png

Step 2 - Generate a Workgroup ID

Go to https://www.uuidgenerator.net/version4 and click generate on version 4 UUID

5ea25e37a2cc47b7edb4bd2c8f9270726c80b6f23632ba09f0e2f1b41eb45b15.png

Copy the generated ID and paste it into both the spreadsheets (Alice and Bob)

10c5bef9b3c1defc7f55e143f73db080a396378425b96642ce0e2f491fe8c655.png

Step 3 - Generate Access Token (JWT)

Follow steps 1 to 3 from "How to drop a proof"

Go to The Swagger UI for either of the two preconfigured nodes Alice or Bobdf0534658e05ceca2a1700242794b42ec7235e0aecff80691c6e05bfe5c5ef0c.png



Register - Click "Try out" and then input you email and choose a password. Click Execute.

1639c4d986ce6ba2b3b1795cef9a3e5f06a414a0071c4726fa28f069f48714da.png



Login - Click "try out". Login with your created details. Click execute. 

dbf854b6d119d1857f8e7a99419f9001c0c22731b344acc80a6992e1091b2bf3.png

 

After you click Execute, you will get a "response body". This is your JWT token. Copy that text, you will need it for the next step.

2d9ccb3dc577f2cf888f801569adb84fe543c56cbf842ce5c6b9561ae14948ae.png

Paste this JWT into the relevant box on the relevant spreadsheet.

Repeat for the other node (eg you did Alice, now repeat for Bob and paste it in the Bob sheet)

Step 4 - Confirm everything is correct

Click the hyperlinked text "new workgroup", then "participation", then "participation" on both sheets.

139481e736bd038b6a36f633d74eb0de9d1b27a058a28c2992a2a7039dfe11ac.png

If everything is correct then you will see "Add" and "get" buttons appear

a4ec360972c96d92a2be5f9e7faf12d6e2c43bed147e4483dfff27a0c0a84d55.png

You are now ready!



Part 2 - Syncing the Sheets

Obviously this is a demo, and in the real world you would have the two spreadsheets separate computer systems.

But it is a demo you are doing on your own, so you have to pretend for now...

 

Step 1 - On Alice click the "Add New" button. A new row will appear.

b8fea6c6812411ec877004cf541ff09a33c7eb2d74c983e59550a1344bb71f33.png

 

Step 2 - Type a name into the pinky/beige boxes. Then click "suggest"

a601be81872a2dff7532340e9c9d57792a8cfa187c807cd326daa7ede0596b28.png

Step 3 - Load up the trustmesh page by clicking on the "show" hyperlink in the status box under trustmesh. Then you will be able to see what happens.

Step 4 - Now switch to the Bob sheet, and click the "Get new" button. You can now accept or reject the name.

3ed567a62c1ed17da27bbb88ea007c50c567f499ae872542e5bda51e6ab681e1.png

Click reject so you can see what happens

Step 5 - Go back to Alice and click "Latest", it will show as rejected. Suggest an alternative.

70e78c8975f4a3230fbf41327dfa192243518658b64dbc5d4b825cf64f130a67.png

Step 6 - Switch to Bob, and click "latest". This time Approve it

Step 7 - Back to Alice and click "latest". It will show as synced. Now suggest a nickname

d294d1182ead415c5d2f401a14fb8cf17b811c011744130d036f3b1d6fae67c2.png

Step 8 - Back to Bob and click "latest". And you will be asked again to approve/reject. Approve it.

It will then show as "Exited". Final step is to click "Latest" one last time.

c809a7a932c442356fea269663beeb7afae5eaed72951aa50403ec63348650bf.png

 



You are done! You synced the name and the nickname using Baseledger Lakewood testnet, and you can see a record of what you did on Trustmesh.

47ffd14e5485f97f89890376993018b0b267cdb9c33ab3ea079661d8c9a326ab.png

Click on the Etherscan hyperlink and you will see the transactions are rolled up to the Ethereum Ropsten testnet!

44c50812c30fc20de8650c1de9f3e2271675e9aeb455b0ce537b491c1d6796d2.png





Baseledger - The Blockchain built for Baselining

A public-permissioned, council-governed blockchain network that fulfills the major requirements of enterprise organizations for participating in Baseline-enabled processes: A unified architecture ensuring service quality, data privacy and integration.

Baseledger has been launched by Unibright and others as an open-source initiative, aiming to build a tokenized ecosystem and open community around Baseledger.

Unibright and partners bundle years of experience in (enterprise) blockchain development, product building and customer satisfaction (Lufthansa, CONA (Coke One North America), Deutsche Bahn among them). Unibright are one of the main drivers of the Baseline initiative, which was launched together with ConsenSys, Microsoft and EY.

Official Website: Baseledger.net

Governance Council: Baseledger.Foundation

Baseledger Medium Blogs

Official Twitter: BaseledgerNet

Baseledger Whitepaper

UBT Token Details on Coingecko

9bee058c8bb0a5e998c5bbea92f16b810af15823fc28c364d8af8b0699f335f8.png

 

 

How do you rate this article?

21


Dan
Dan

Big fan of cryptocurrency.


Unibright - Blockchain Integrations for Enterprise
Unibright - Blockchain Integrations for Enterprise

Unibright have created a Blockchain agnostic framework that can be used to integrate existing enterprise systems, such as SAP & other ERP. The framework allows the visual creation of smart contracts that can then be deployed without any coding skills.

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.