I expect in this tutorial you know how to build Golang software like the HTND node in windows, because you need to run HTND Node 1.4.8 to spam the network with Rothschild, and I won't release built binaries of Rothschild.
git clone https://github.com/Hoosat-Oy/HTND.git
cd HTND
go install . ./cmd/...
HTND binaries are afterwards C:\Users\username\go\bin
at Windows, and I expect that you CD
to those folders for running programs like HTND
, htnwallet
, genkeypair
.
Once your node is synced with mainnet, you can generate a Schnorr private key pair for Rothschild by running genkeypair
.
.\genkeypair.exe
Private key: 642aff321a628df5259accccccccccccccccccccccc06892acc3859d9c407f4e
Address: hoosat:qp83d8rp4glnc6jkjcccccccccccccccccccccccna0347ngkgl256jlttwmh
Then you can either mine to the address or send some for the transaction spamming. But you need the private key and the address for Rothschild.
git clone https://github.com/Hoosat-Oy/rothschild.git
cd rothschild
notepad .\addresses_example.json
Replace myPrivateKey
, mySpendAddress
, spendAddresses
to match like this, but with your private key and address you generated with genkeypair
:
{
"myPrivateKey": "642aff321a628df5259accccccccccccccccccccccc06892acc3859d9c407f4e",
"myAddress": "hoosat:qp83d8rp4glnc6jkjcccccccccccccccccccccccna0347ngkgl256jlttwmh",
"spendAddresses": [
"hoosat:qp83d8rp4glnc6jkjcccccccccccccccccccccccna0347ngkgl256jlttwmh"
]
}
Then you can run Rothschild against your node, but remeber you need at like 10-100k HTN for the spamming:
go run . -a .\addresses_example.json -i 100
The -i flag controls tick speed of rothschild, the current github does 100 transactions per tick.
You can return the rothschild wallet coins to HTND cli wallet with htnwallet sweep command:
.\htnwallet.exe sweep -k 642aff321a628df5259a03382641eede0f85cb5180b06892acc3859d9c407f4e
Which basically moves the coins from Schnorr keypair wallet to HTND cli HD wallet.