/farming

Primary LanguageRustApache License 2.0Apache-2.0

Farming

A farming dApp implementation of ArthSwap master chef adapted from sushiswap

Purpose

This is an unaudited implementation ready to be used.

Status

  • ✅ contracts
  • ✅ integration tests
  • ⬜ UI (January 2023)
  • ⬜ Audit

Versions

ink! 4.0 beta (latest)
openbrush 3.0.0 beta (latest)

License

Apache 2.0

🏗️ How to use - Contracts

💫 Build

Use these instructions to set up your ink!/Rust environment
Run this command in the contract folder:

cargo contract build
💫 Run unit test
cargo test
💫 Deploy

First start your local node.
Deploy using polkadot JS. Instructions on Astar docs

💫 Run integration test

First start your local node. Recommended swanky-node

yarn
yarn compile
yarn test