This repository contains examples of ink! contracts and their respective UIs that can be deployed on Atar netwroks. If you are looking for unaudited production ready dApps (ink! + UI) this repo is for you.
contributions are welcome:
- If you find an issue or a refactor idea please open an issue
- If you want to add your own example open a Pull Request
This folder contains the line by line implementation of uniswap-v2 core + uniswap-v2 periphery & its tests. It uses ink! 3.3.0 & Openbrush 2.2.0
On Chain governance Based on Governor contracts of OpenZeppelin
The tests folders contains end-to-end tests for the contracts.
Runs the tests
- Run a local node
Last version of polkadot v0.9.29 introduced WeightV2 and is not compatible with redspot
Please use swanky-node v0.11 - The end-to-end test uses redspot as testing environment. Node version should be 14
yarn install
npx redspot test