This repository contains examples of ink! contracts and their respective UIs that can be deployed on Astar network. 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 latest ink! 3.4.0 & Openbrush 2.3.0 The UI template is in active development and will be public in January 23
A farming dApp line by line implementation of ArthSwap master chef adapted from sushiswap
This is an hello world! example with a basic flipper contract and an UI to interact with it. The UI is a react app and uses polkadotjs to interact with the node
On Chain governance based on Governor contracts of OpenZeppelin
The test folder contains integration tests for the contracts. Tests are made with two different test frameworks, redspot and typechain.
Runs the tests
- Run a local node
Please use swanky-node - The integration tests uses typechain. Node version should be >= 16
yarn install yarn compile yarn test:typechain