Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 1.85 KB

README2.md

File metadata and controls

37 lines (30 loc) · 1.85 KB

Astar WASM showcase dApps

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.

Contribute to this repository

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

dApps

Uniswap-V2 - DEX

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

Farming

A farming dApp line by line implementation of ArthSwap master chef adapted from sushiswap

Fliper + UI

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

DAO

On Chain governance based on Governor contracts of OpenZeppelin

Tests

The test folder contains integration tests for the contracts. Tests are made with two different test frameworks, redspot and typechain.

Runs the tests

  1. Run a local node
    Please use swanky-node
  2. The integration tests uses typechain. Node version should be >= 16
    yarn install
    yarn compile
    yarn test:typechain