Chaincode recommendation based on existing chaincode
AssigneeInternational Business Machines Corporation
InventorsVagner Figueredo de Santana, Ana Paula Appel, Alecio Pedro Delazari Binotto, Percival Silva de Lucena
Life of this patent
Estimating the term…
Abstract
An example operation may include one or more of storing existing chaincode relationships of a group of blockchain peers within a blockchain network, identifying a new chaincode to implement for one or more blockchain peers among the group of blockchain peers of the blockchain network based on the existing chaincode relationships among the group of blockchain peers, and transmitting a message to the one or more blockchain peers with a suggestion to implement the new chaincode.
Claims18
An apparatus comprising:
- a storage configured to store chaincode relationships that exist among a group of blockchain peers within a blockchain network as a graph in which peers and existing smart contracts are represented by nodes with edges in between the nodes identifying relationships between the peers and the existing smart contracts;
- a processor configured to
- execute a graph mining operation on the edges in the graph to identify smart contract relationships among the peers based on the existing smart contracts, and
- execute a machine learning model on the identified smart contract relationships returned from the graph mining operation to identify attributes for a new smart contract to connect two or more blockchain peers among the group of blockchain peers of the blockchain network which are not currently connected via the existing smart contracts;
- and
- a network interface configured to transmit a message to the one or more blockchain peers with a suggestion to implement the new smart contract to connect the two or more blockchain peers;
- wherein the processor is further configured to receive a modification to one or more attributes of the new smart contract and activate the modified new smart contract within the blockchain network.
A method comprising:
- storing existing chaincode relationships of a group of blockchain peers within a blockchain network as a graph in which peers and existing smart contracts are represented by nodes with edges in between the nodes identifying relationships between the peers and the existing smart contracts;
- executing a graph mining operation on the edges in the graph to identify smart contract relationships among the peers based on the existing smart contracts;
- executing a machine learning model on the identified smart contract relationships returned from the graph mining operation to identify attributes for a new smart contract to connect two or more blockchain peers among the group of blockchain peers of the blockchain network which are not currently connected via the existing smart contracts;
- and
- transmitting a message to the one or more blockchain peers with a suggestion to implement the new smart contract to connect the two or more blockchain peers;
- wherein a modification to the new smart contract is received and the modified new smart contract is activated within the blockchain network.
A non-transitory computer-readable medium comprising instructions, that when read by a processor, cause the processor to perform a method comprising:
- storing existing chaincode relationships of a group of blockchain peers within a blockchain network as a graph in which peers and existing smart contracts are represented by nodes with edges in between the nodes identifying relationships between the peers and the existing smart contracts;
- executing a graph mining operation on the edges within the graph to identify smart contract relationships among the peers based on the existing smart contracts;
- executing a machine learning model on the identified smart contract relationships returned from the graph mining operation to identify attributes for a new smart contract to implement to connect two or more blockchain peers among the group of blockchain peers of the blockchain network which are not currently connected via the existing smart contracts;
- and
- transmitting a message to the one or more blockchain peers with a suggestion to implement the new smart contract to connect the two or more blockchain peers;
- wherein a modification to the new smart contract is received and the modified new smart contract is activated within the blockchain network.
Dependencies are inferred from the claim text.