Validators testnet accounts have been reserved in pregenesis.json
wget https://golang.org/dl/go1.22.3.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.22.3.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
go version
# Output should be: go version go1.22.3 linux/amd64
wget https://github.com/CosmWasm/wasmvm/releases/download/v1.5.2/libwasmvm.x86_64.so
sudo mv libwasmvm.x86_64.so /usr/lib/
# OR
sudo mv libwasmvm.x86_64.so /usr/local/lib/
First clone the mainnet-rehearsal repository
git clone git@github.com:soar-robotics/mainnet-rehearsal.git
Move the binary for system usage
cd mainnet-rehearsal
tar -xvf soarchaind.tar.gz
sudo mv soarchaind /home/user/go/bin/soarchaind
soarchaind init --nodeName --chain-id soarchaintestnet --default-denom utsoar
soarchaind config set client chain-id soarchaintestnet
soarchaind config set client keyring-backend test
soarchaind keys add keyName --keyring-backend test --algo secp256k1 --recover
Replace the binary with pregenesis.json
. Your genesis.json
is in the .soarchain/config
directory. The file name should remain genesis.json
.
soarchaind genesis gentx keyName 1000000utsoar --keyring-backend test --chain-id soarchaintestnet
After completing these steps, validators can start sending their gentx files.
- Go to the repository and click the "Fork" button in the upper right corner to create a copy of the repository in your GitHub account.
- Open your terminal and run:
git clone git@github.com:soar-robotics/mainnet-rehearsal.git cd mainnet-rehearsal
- Create a new branch for your
gentx
file:git checkout -b add-gentx-<your-validator-name>
- Copy your
gentx
file to thegentx
directory in the repository. Make sure to name the filegentx-<your-validator-name>.json
:cp /home/user/.soarchain/config/gentx/gentx.json network/gentxs/gentx-<your-validator-name>.json
- Commit your changes with a descriptive message:
git add network/gentxs/gentx-<your-validator-name>.json git commit -m "Add gentx for <your-validator-name>"
- Push your branch to your forked repository:
git push origin add-gentx-<your-validator-name>
- Go to your forked repository on GitHub.
- Click the "Compare & pull request" button.
- Add a descriptive title and comment for your pull request, then click "Create pull request".
## Description
Add `gentx` for <your-validator-name>
## Checklist
- [ ] Updated `gentx` directory with my `gentx-<your-validator-name>.json` file.
- [ ] Verified the chain-id and other parameters in my `gentx` file.
- [ ] Tested my `gentx` file with the latest network configuration.
Ensure your repository has the following structure after making it public:
mainnet-rehearsal/
├── gentx/
│ ├── gentx-example1.json
│ ├── gentx-example2.json
│ └── ... (additional gentx files)
├── README.md
└── ... (other files and directories)
By following these steps, validators will be able to easily submit their gentx
files via pull requests, and you will have a streamlined process for managing these submissions.
For more information on the WasmVM upgrade, refer to the WasmVM v1.5.2 release.
We appreciate your cooperation in ensuring a smooth mainnet launch process. Please refactor and verify all files as needed.
Make sure to replace --nodeName
and keyName
with the actual names you intend to use.
For any questions, we are here in our social media groups.
Thank you,
The Soarchain Team