Installation and usage of the platform

Confidential data exchange

The Waves Enterprise blockchain platform allows you to restrict access to certain data placed on the blockchain. To do this, users are divided into groups with access to confidential data.

Important

If you are transferring confidential data on your private blockchain network, in order to upgrade from versions older than 1.7.2, you must first upgrade to version 1.7.2 and then to version 1.8 or higher. This requirement is related to the private data exchange protocol modification.

Creation of a confidential data group

Anyone on the network can create a confidential data access group. Before you create an access group, decide on the list of members that will be part of it. Then sign and submit the transaction 112 CreatePolicy:

  1. In the recipients field, enter the comma-separated addresses of participants who will have access to confidential data.

  2. In the owners field, add the comma-separated addresses of the group members who will be given administrator rights. The administrators of the access group, in addition to accessing confidential data, will be able to change the composition of the access group.

When you send a transaction, you will receive the ID of the created access group (policyId). You will need it when you change the composition of its members.

Once a transaction is sent to the blockchain, all participants registered in the created access group will have access to the confidential data sent to the network. As the creator of the transaction, you will be able to change its composition, as will the participants added to the owners field.

Updating a confidential data group

Only the members of a confidential data group added to the owners field during the group creation, as well as its creator himself (group owners) can change the composition of the confidential data access group.

To do this, sign and submit the transaction 113 UpdatePolicy:

  1. In the policyId field, enter the identifier of the access group to be changed.

  2. In the opType field, enter the action to be performed on the group: add – add members; remove – delete members.

  3. If you want to add or remove members of an access group, type their public keys in the recipients field.

  4. To add or remove access group owners, type their public keys in the owners field.

Access group information is updated after a transaction is sent to the blockchain.

Sending confidential data into the network

Use the following methods to send confidential data into the network:

These methods require authorization.

See also