/metadata-bilateral-exchange

A smart contract that allows accounts to exchange certain metadata module values

Primary LanguageRustApache License 2.0Apache-2.0

README

This repository houses a Provenance Blockchain Metadata bilateral exchange smart contract, and a client library that allows interaction with it from a Kotlin application. This project is based on the Bilateral Exchange Smart Contract.

The Metadata Bilateral Exchange smart contract is written in Rust, leveraging the Cosmwasm SDK and Provwasm SDK to produce a WASM file compatible with the Provenance Blockchain. This contract is designed to allow the bilateral exchange of Provenance Blockchain Metadata Module and Provenance Blockchain Marker Module goods for coin.

The Kotlin client is written in Kotlin, leveraging the PbClient to facilitate requests to a Provenance Blockchain instance of the Metadata Bilateral Exchange Smart Contract.