This is to spam a Flare C-chain local net where one address which has balance creates a number of new addresses and transfers balance.
This helps in creating transactions in the C-chain and thereby triggering block creation.
This is to do debugging whether the network is running as expected.
The network performance can be checked using the logs.
-
git clone https://github.com/flare-foundation/flare
-
cd flare
andgit checkout snowman-plusplus-test
-
Edit the
genesis/genesis_local.go
code with the current repository'sgenesis/genesis_local.go
-
./scripts/build.sh
-
./scripts/launch_localnet.sh
This will launch a 5 node local net.
To run, simply use:
go run ./cmd/main.go
This will create 10 addresses and their corresponding transactions where certain amount of balance will be transferred.
Check in the log files of the Flare
repo to see logs and errors.
Add this to genesis: , "c783df8a850f42e7F7e57013759C285caa701eB6": {"balance": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"}