rmrk-team / rmrk-ink

RMRK ink! contract
Apache License 2.0
33 stars 13 forks source link
astar ink rust smart-contracts substrate

RMRK ink!

workflow stack-exchange discord built-with-ink License

Implementation of RMRK protocol in ink! Smart contract language

Quick start

  1. Make sure you have the latest cargo contract

  2. Clone the repository

git clone https://github.com/rmrk-team/rmrk-ink.git
  1. Compile & Build
cd ./rmrk-ink/contracts/rmrk
cargo +nightly contract build --release
  1. Run ink! unit tests
cargo test
  1. Integration test Start local test node. Recommended swanky-node version 1.2 or higher. Download binary or run compiled version
    ./swanky-node --dev --tmp

    To run tests:

yarn
yarn compile
yarn test