jackromo888 / relayer-v2

Relayer bot for across v2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Across V2 Relayer

This code implements UMIP-157 and interacts with these smart contracts. The contracts were audited by OpenZeppelin.

Installation

# build
cd relayer-v2
yarn

# run test suite
yarn test

How to run a relayer using this code

First, be sure to install RedisDB, an in-memory storage layer that will significantly speed up bot runs after the first time in which it fills the database.

Start the redis server in a separate window from the bot:

redis-server

When running the bot, be sure to set the following environment variable

REDIS_URL=redis://localhost:6379

Check out this guide for detailed bot instructions!

About

Relayer bot for across v2

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 99.6%Language:Solidity 0.2%Language:JavaScript 0.1%Language:Shell 0.0%Language:Dockerfile 0.0%