provwasm-tutorial

A simple smart contract used for testing inside of the Provenance blockchain

1 unstable release

0.1.2 Mar 4, 2022

Apache-2.0

84KB
396 lines

Purchase Smart Contact

This is a simple smart contract that uses provwasm to run on the Provenance blockchain. When a user triggers this smart contract by sending it some coins it sends a certain percentage to a feebucket address and the remaining to the "merchant" address simulating a payment system.

This smart contract is also used in the provwasm integration tests in Provenance to verify basic smart contract support.

Dependencies

~5.5–7.5MB
~154K SLoC