Skip to content

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2 FA tool

Set proper config in the .env file. Needs L1 connection and access to EN DB.

Then you can run a single batch like this:

cargo run -- --chain-address 0x32400084C286CF3E17e7B677ea9583e60a000324 --run-one-batch 506508 --dry-run 1

Or you can run it in the main mode like this:

cargo run

Docker

Prebuilt images are published to GitHub Container Registry on every push to main:

docker pull ghcr.io/vladbochok/en-2fa:latest

Available tags: latest (tip of main), sha-<commit> for an exact commit, and <version> / <major>.<minor> when a v* tag is pushed.

Run it with your config (the image reads the same env vars as .env):

docker run --rm --env-file .env ghcr.io/vladbochok/en-2fa:latest

Extra CLI flags are appended after the image name, e.g.:

docker run --rm --env-file .env ghcr.io/vladbochok/en-2fa:latest \
  --chain-address 0x32400084C286CF3E17e7B677ea9583e60a000324 --run-one-batch 506508 --dry-run 1

Note: DATABASE_URL pointing at 127.0.0.1 refers to the container itself — use the host's reachable address (or --network host) when the EN Postgres runs on the host.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages