💀 This is a Work in Progress.
Current status: Common PoC data storage and methods available. Partially tested.
Use at your own risk.
This is a CosmWasm! smartcontract implementing a p2p delivery logic.
With this contract you can create a delivery request worth an amount of tokens based on cw20 for Cosmos blockchain users.
- Figaro CLI test tool
- The contract works on the principle of mutual deposit.
- Verification is based on a signature with a
secp256k1
secret key, which a sender gives to the recipient who receives the package. - None of the parties can withdraw the deposit before the contract terms execution, or an expiration of obligations.
Please follow installation instructions provided here. Also we have a simple helper script to configure wasmd
here.
git clone https://github.com/bsn-si/figaro-contract
cd figaro-contract/
RUSTFLAGS='-C link-arg=-s' cargo wasm
Please use our CLI to interact with the contract, or use original wasmd query
command.
Apache License 2.0 © Bela Supernova (bsn.si)