Submission for Polkadot ink! Hackathon powered by Encode Club
This repository contains the source code and documentation for enhancing the functionality of Ink smart contracts on Substrate to support Canary releases.
Canary releases are a way to gradually roll out new features or changes to a subset of users to test and validate them before deploying to a wider audience.
- Canary Release Support: Easily create and manage Canary releases for your smart contracts.
- Gradual Rollout: Control the percentage of users or nodes that receive the new features during a Canary release.
-
Clone this repository to your local machine:
git clone https://github.com/tekvyy/ink_canary_release.git
-
Build Project
cd ./canary_contract cargo contract build
-
Deploy Smart Contract on Chain
-
Ability To Select 2 Smart Contract on Contracts UI
- Main Contract
- Canary Contract
- Ability to Switch Percentage for Canary Release users via smart contract