Skip to content

Jrmc2024/blockchain-api-fork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project to run blockchain for and API.

Dot Env

Create .env and paste variables bellow into .env. Remember change you Alchemy api_key and if you don't use Alchemy change entire RPC url to other RPC.

# Change your api_key to correct api_key
MAINNET_RPC=https://polygon-mainnet.g.alchemy.com/v2/{api_key}
BLOCK_NUMBER=60324439
LOCAL_RPC=http://blockchain:8545
API_PORT=3002

Docker to up all services

# build you container+images
docker compose up --build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published