Skip to content

hovanhoa/blockchain-busier

Repository files navigation

Blockchain busier

This project use to run script make blockchain busier

  • Hardhat: compile and run the smart contracts on a local development network
  • Dotenv: loads environment variables from .env
  • Openzeppelin-contracts: a library for secure smart contract development

Usage

Pre Requisites

First, config the .env file (ex .env.example)

RPC_ENDPOINT=""
PRIVATE_KEY=""
OTHER_ADDRESS=""

Before running any command, make sure to install dependencies:

npm install

Run

npm run script

Run with detached mode

nohup npm run script &

or

docker build --tag blockchain-busier .
docker run -d blockchain-busier

Kill the process by nohup

ps -ef | grep script
kill <pid>

License

Distributed under the MIT License.