bsv_rpc v1.0.0-alpha3 BsvRpc.MetaNet View Source

Function for MetaNet operations.

Link to this section Summary

Functions

Creates a MetaNet root node on the blockchain and creates a graph struct representing it.

Publishes a MetaNet node on the blockchain.

Publishes a MetaNet node on the blockchain.

Link to this section Functions

Link to this function

create_root_node(metanet_key, funding_key)

View Source

Creates a MetaNet root node on the blockchain and creates a graph struct representing it.

Link to this function

publish_node(graph, derivation_path, content)

View Source

Publishes a MetaNet node on the blockchain.

Uses funding key in the graph struct to fund the MetaNet node transaction.

Link to this function

publish_node(graph, funding_utxo, derivation_path, content)

View Source

Publishes a MetaNet node on the blockchain.

Uses funding_utxo to fund the MetaNet node transaction.