Skip to content

Releases: rmrk-team/rmrk-ink

Release 0.6.0

27 Apr 17:10
5af9493
Compare
Choose a tag to compare

This is the first unofficial and un-audited version of RMRK-ink!

Rust compiler versions

This release was built and tested against the following versions of rustc.
Other versions may work.

Rust Nightly: rustc 1.67.0-nightly (2023-01-10)

Versions

ink! version = 4.1.0
openbrush version = 3.1.0
cargo-contract-contract = 2.1.0
typechain-compiler = 0.5.18

Changelog since release mvp/0.6.0

#37 Refactor/lib restructure
#39 Refactor/error handling
#44 Fix custom error types in JS tests
#45 Feature/minting lazy
#47 Feature/access control
#48 feature/query-helpers
#49 Feature/ink 4.0.0
#50 Feature: Unlimited supply
#52 Getting the parent of a child
#54 Update integration tests after support for weights2
#57 External catalog
#60 Update yarn compile with nightly
#61 upgrade ink; upgrade openbrush
#62 Add batch calls for faster deployment
#63 Catalog updates
#67 Query helpers reentry fix
#68 Add cargo.lock to git
#69 Create LICENSE

Multi Assets

10 Dec 18:52
0d6f802
Compare
Choose a tag to compare
Multi Assets Pre-release
Pre-release

Adding multi Asset functionality for RMRK. (assets were called resources in previous versions of RMRK)

This ink implementation follows evm implementation of multiasset defined here
Implemented functions are:

  • fn add_asset_entry()
  • fn add_asset_to_token()
  • fn accept_asset()
  • fn reject_asset()
  • fn set_priority()

Getters

  • fn total_assets()
  • fn get_asset_uri()
  • fn total_token_assets()
  • fn get_accepted_token_assets()
  • fn remove_asset()

Events

  • AssetSet
  • AssetAddedToToken
  • AssetAccepted
  • AssetRejected
  • AssetRemoved
  • AssetPrioritySet

Test

  • Unit test
  • e2e test with typechain (test/multiasset.spec.ts)

Basic Nesting

25 Nov 10:11
2830d26
Compare
Choose a tag to compare
Basic Nesting Pre-release
Pre-release

This release is basic implementation of Nesting

Implemented nesting functions

    fn add_child
    fn remove_child
    fn accept_child
    fn reject_child
    fn transfer_child
    fn children_balance

Documentation

Nesting

Integration test

Integration test uses typechain
to run tests you need to

  1. start local node which supports pallet-contract. (use latest swanky-node)
  2. yarn
  3. yarn compile
  4. yarn test:typechain

RMRKink v0.2.0 (MVP)

13 Nov 20:07
18c51ff
Compare
Choose a tag to compare
RMRKink v0.2.0 (MVP) Pre-release
Pre-release

This release is basic implementation of PSP34 traits with following change log:

  • PR#7
  • It has no rmrk specific implementation
  • adds support for PSP34 events
  • removes support for pallet_uniques
  • constructor is not payable

Dependency

  • Contract was tested on swanky-node v0.13.0

Integration test

  • Integration test is broken for this release. Polkadot's changes in weight from version v0.9.29 will cause Redspot to not work.
  • Code is tested with unit test and manually on polkadot.js.

RMRKink v0.1.0 (MVP)

04 Nov 08:22
e1acf4f
Compare
Choose a tag to compare
RMRKink v0.1.0 (MVP) Pre-release
Pre-release

This release is basic implementation of PSP34 traits with support for pallet_uniques chain extension.
Any change in the contract will, as well, be reflected in pallet_uniques by calling following:

  • create()
  • mint()
  • transfer()
  • approve_transfer()
  • cancel_approval()

To compile the contract use
cargo +nightly-2022-08-15 contract build

Dependency

Since this contract requires chain extension for the pallet_uniques please follow these instructions how to build swanky node.

  1. checkout this branch for swanky-node
  2. build and run node using these instructions

Note!

  • Integration test is broken for this release. Code is only tested on polkadot.js.
  • Make sure you instantiate contract with 0.1 units. These funds are needed for contract creation in pallet_uniques
  • Due to Polkadot's changes in weight in v0.9.29, Redspot is not working. Due to that swanky-node needs to run on polkadot 0.9.28. That is why swanky-node is base on 0.11.0 version