Aori is a high-performance orderbook protocol for high-frequency trading on-chain and facilitating OTC settlement.
This repo is released under the MIT License.
You can read more about the protocol in our litepaper here.
If you have any further questions, refer to the technical documentation. Alternatively, please reach out to us on Discord or on Twitter.
git clone https://github.com/aori-io/aori-v2-contracts
git submodule update --init --recursive ## initialize submodule dependencies
forge build
make tests ## run tests
Chain | Aori v2.1 |
Aori v2.0 |
---|---|---|
1 (Ethereum) |
- | 0x6A979916234013AbA003d906e4e7136496B90AA6 |
10 (OP) |
0xcc1A0DA89593441571f35Dd99a0aC1856d3F1FB5 | - |
137 (Polygon) |
0xcc1A0DA89593441571f35Dd99a0aC1856d3F1FB5 | - |
8453 (Base) |
0xcc1A0DA89593441571f35Dd99a0aC1856d3F1FB5 | - |
42161 (Arbitrum One) |
0xcc1A0DA89593441571f35Dd99a0aC1856d3F1FB5 | 0x6A979916234013AbA003d906e4e7136496B90AA6 |
81457 (Blast Mainnet) |
0xcc1A0DA89593441571f35Dd99a0aC1856d3F1FB5 | - |
Chain | Aori v2.1 |
Aori v2.0 |
---|---|---|
5 (Goerli) |
0xcc1A0DA89593441571f35Dd99a0aC1856d3F1FB5 | 0x6A979916234013AbA003d906e4e7136496B90AA6 |
336 (MEVM M1) |
0xcc1A0DA89593441571f35Dd99a0aC1856d3F1FB5 | - |
80085 (Berachain Artio) |
0xcc1A0DA89593441571f35Dd99a0aC1856d3F1FB5 | - |
421614 (Arbitrum Sepolia) |
0xcc1A0DA89593441571f35Dd99a0aC1856d3F1FB5 | 0x6A979916234013AbA003d906e4e7136496B90AA6 |
11155111 (Sepolia) |
0xcc1A0DA89593441571f35Dd99a0aC1856d3F1FB5 | 0x6A979916234013AbA003d906e4e7136496B90AA6 |
forge install
forge build
forge test --fork-url https://rpc.ankr.com/eth --via-ir
You can also test using the make
command which will run the above command.
forge verify-contract 0x6A979916234013AbA003d906e4e7136496B90AA6 src/AoriV2.sol:AoriV2 --optimizer-runs 1000000 --show-standard-json-input > single-chain-aori-v2-etherscan.json