This crate provides bindings to enable CosmWasm smart contracts to interact with custom provenance blockchain modules.
Crate | Download | Docs |
---|---|---|
provwasm-std | ||
provwasm-mocks |
The following table shows provwasm version compatibility for smart contract development and testing.
provwasm | wasmd | cosmos | provenance | module support |
---|---|---|---|---|
v1.1.2 | v0.29.X | v0.46.X | v1.13.X | attribute,marker,metadata,msgfees,name |
v1.1.1 | v0.29.X | v0.46.X | v1.13.X | attribute,marker,metadata,msgfees,name |
v1.1.0 | v0.26.X | v0.45.X | v1.10.X - v1.12.X | attribute,marker,metadata,msgfees,name |
v1.0.0 | v0.26.X | v0.45.X | v1.8.X - v1.9.X | attribute,marker,metadata,name |
v0.16.0 | v0.18.0 | v0.43.0 | v1.6.X | attribute,marker,metadata,name |
v0.14.3 | v0.17.0 | v0.42.6 | v1.5.X | attribute,marker,metadata,name |
v0.14.2 | v0.17.0 | v0.42.6 | v1.5.X | attribute,marker,metadata,name |
v0.14.1 | v0.17.0 | v0.42.5 | v1.4.1+ | attribute,marker,name |
v0.14.0 | v0.16.0 | v0.42.4 | v1.3.0+ | attribute,marker,name |
v0.13 | v0.15 | v0.41 | v0.2.0 | attribute,marker,name |
Start with the tutorial for a complete guide to developing smart contracts for the Provenance Blockchain.
Once the tutorial has been completed and you are ready for a more advanced topic, checkout the IBC Overview to learn more about IBC Smart Contracts and a guided tour of a multi-contract IBC project.
In addition to the core CosmWasm functionality, the provenance bindings include
- Names
- Resolve the address for a name.
- Lookup all names bound to an address.
- Account Metadata
- Get all attributes for an account.
- Get attributes for an account by name.
- Markers
- Get marker by denom.
- Get marker by address.
- Metadata
- Get scope by ID.
- Get scope sessions.
- Get scope records.
- Get scope record by name.
- Names
- Bind name
- Delete name
- Account Metadata
- Add attribute
- Delete all attributes
- Delete distinct attribute
- Update attribute
- Markers
- Create
- Grant access
- Revoke access
- Finalize
- Activate
- Cancel
- Destroy
- Mint supply
- Burn supply
- Withdraw coins
- Transfer coins
- Metadata
- Write Scope
- MsgFees
- Assess custom fee