Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.19 KB

README.md

File metadata and controls

26 lines (21 loc) · 1.19 KB

Astar WASM contracts examples

This repository contains examples of ink! contracts that can be deployed on Atar netwroks

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

Contracts

Uniswap-V2

This folder contains the line by line implementation of uniswap-v2 core & its tests. It uses ink! 3.3.0 & Openbrush 2.2.0

DAO

On Chain governance Based on Governor contracts of OpenZeppelin

Tests

The tests folders contains end-to-end tests for the contracts.

Runs the tests

  1. Run a local node
    Use swanky-node or Astar-local. Please follow the build & run instructions in their respective repository.
  2. The end-to-end test uses redspot as testing environment. Node version should be 14
yarn install
npx redspot test