bh2smith / gas-station-event-indexer

Picks up events emitted from the gas station contract used for generating signed foreign chain transactions and calls the multichain relayer /send_funding_and_user_signed_txns endpoint locally

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gas-station-event-indexer

Picks up events emitted from the gas station contract used for generating signed foreign chain transactions and calls the multichain relayer /send_funding_and_user_signed_txns endpoint locally

Run

  1. Ensure you have https://github.com/near/multichain-relayer-server running on localhost:3030
  2. make install create virtual environment and install requirements.txt
  3. Update the config.toml with the appropriate values
  4. make run runs the gas_station_event_indexer.py script

Note that you will also have to populate an environment file

cp .env.example .env

containing AWS credentials for reading from Near Lake.

About

Picks up events emitted from the gas station contract used for generating signed foreign chain transactions and calls the multichain relayer /send_funding_and_user_signed_txns endpoint locally

License:MIT License


Languages

Language:Python 87.8%Language:Makefile 12.2%