Quick Start: Write a Smart Contract
Smart Contracts on Provenance Blockchain are written in Rust and are executed using the ProvWasm smart contracting platform. ProvWasm is an extension of the CosmWasm environment and includes bindings for Provenance Modules. The ProvWasm/CosmWasm platform allows smart contracts to be executed in WebAssembly (WASM) virtual machines (VMs) in the Cosmos SDK.
Get Started
-
We recommend following the ProvWasm Tutorial, which will walk you through the process of building and deploying a smart contract step-by-step.
-
Read through the ProvWasm Documentation.
-
If you are new to the Rust programming language, the Rust Book is an excellent resource.
-
Read about one developer's experience learning Provenance smart contracts in Going from Zero to De Niro — Building a Provenance smart contract when you know NOTHING
-
Browse the Provenance Smart Contract Catalog for examples that may be similar to your use case.
-
The How-To-Provenance GitHub repo contains more useful cases, including examples of: