Network cards and wallets

Finally, before we finish this chapter, we're going to add you to this business network so that you can submit transactions! To do this, we're going to return to the business network cards and wallet that first allowed us to connect to the network. Recall that all applications, Playground included, have a wallet that contains business network cards that can be used to connect to different networks. When an application uses a particular card to connect a network, it is identified as a particular participant instance in the network.

  1. Let's create a new participant! On the Test tab, select Customer participants:
  1. You'll see the participant information for Alice and Bob. Click on Create New Participant:

This page will allow you to issue the API to create a new participant. We've entered the following details for a new participant, called Anthony, who works for BlockIT:

{
"$class": "org.example.loc.Customer",
"companyName": "BlockIT",
"personId": "Customer003",
"name": "Anthony",
"bank": "resource:org.example.loc.Bank#BOD"
}

Note his identifier, and a reference to Bank of Dinero. Click Create New and notice how the participant registry has been updated:

We've created a new participant in the network. (Feel free to use your own details, just ensure that your participant has valid data, specifically references to existing banks.)

Click on the ID registry under admin. You'll now be presented with a list of identities associated with the Playground.

Whereas Alice's and Bob's digital certificates are private to their application, here we can see the identities associated with the current playground userthe administrator of the business network:

Click Issue New ID:

Enter ID003 for the ID Name and associate it with the new participant we created, org.example.loc.Customer#Customer003, and click Create New:

Give the business network card a name, and click Add to wallet.
You'll see that the list of IDs has been updated with ID003, associated with Customer003:

Click on the My Business Networks user in the admin tab to return to the Composer Playground initial page:

We can see that the Playground wallet now contains a new business network card that allows you to connect to our network. Click on Connect now for Cusotmer003Card. You're now connected to the network as Customer003, rather than the Admin.

..................Content has been hidden....................

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