Home

Awesome

Tokenlon

Node.js CI Built-with openzeppelin

Tokenlon is a decentralized exchange and payment settlement protocol based on blockchain technology. Visit tokenlon.im

Notice: This repository may contain changes that are under development. Make sure the correct commit is referenced when reviewing specific deployed contract.

Architecture

Tokenlon Architecture

Deployed contracts

Under construction

Prerequisite

Example

MAINNET_NODE_RPC_URL=https://eth-mainnet.alchemyapi.io/v2/#####__YOUR_SECRET__#####

Installation

$ git submodule update --init --recursive
$ yarn run setup

Compile contracts

# Compile contracts
$ yarn run compile

Run unit test

# Run unit tests with fresh states
$ yarn run test-foundry-local

# Run integration tests with forked states
$ yarn run test-foundry-fork