Welcome to the new Provenance Blockchain developer documentation portal!
logo
A step-by-step process of creating and deploying a web assembly smart contract to the Provenance Blockchain.
Overview
This tutorial is broken out into two parts. The first will cover developing smart contracts. The second will deal with deploying smart contracts to the Provenance Blockchain.
Part 1:
Development
  • Project - Generate a smart contract project from template.
  • Develop - Code, compile, and test the smart contract.
  • Optimize - Create optimized contract Wasm for deployment.
Part 2:
Deployment
  • Setup - Start a provenance localnet cluster, create accounts and a marker.
  • Store - Upload optimized contract Wasm.
  • Query - Get the smart contract configuration state.
  • Execute - Execute the contract, sending funds and collecting fees.
  • Migrate - Notes on upgrading smart contracts.
Up Next
Continue to the Introduction for a high-level background of smart contracts.
To dive right in, proceed to the Getting Started section.
Share