Skip to main content

Client

Clients can interact with this module via:

The CLI supports the addition of the --verifiable-presentation flag to the txFactory to satisfy the requirement of the AnteHandler.

CLI

The txFactory is updated in the sdk to add the --verifiable-presentation flag to satisfy the requirement of the anteHandler. The base64 encoded verifiable presentation is passed as the argument to the flag which will populate the ExtensionOptions field in the transaction, then signed and broadcasted as usual.

For example:

d tx notary notarise <data> --from alice --verifiable-presentation <base64 encoded verifiable presentation>

Transactions

There are no transactions to execute for this module as authority is the chain's governance module. All execution should go through x/gov on the chain.

Query

Get Verification Registry

Gets the verification routes registry state

dchain query vcv get-routes-registry

verification_routes_registry:
- message: cosmos.bank.v1beta1.MsgSend
route:
app_addr: dchain1gwqac243g2z3vryqsev6acq965f9ttwhpka3ds
route_id: "1"
- message: cosmos.staking.v1beta1.MsgCreateValidator
route:
app_addr: dchain1mx5e3jkxvzf8frl7cl8m69264ctn0shl3yfa4v
route_id: "1"

Get Message Route

Gets the route of the specific message

# dchain query vcv get-message-route <Msg>

dchain query vcv get-message-route cosmos.staking.v1beta1.MsgCreateValidator
route:
app_addr: dchain1mx5e3jkxvzf8frl7cl8m69264ctn0shl3yfa4v
route_id: "1"

gRPC

*TODO

REST

*TODO