# Install dependencies for building from sourcesudoaptupdatesudoaptinstall-ylz4jqmakegitgccbuild-essentialcurlchronyunzipgzipsnapdtmuxbc# Install Gosudorm-rf/usr/local/gocurl-Lhttps://go.dev/dl/go1.21.6.linux-amd64.tar.gz|sudotar-xzf--C/usr/localecho'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin'>> $HOME/.bash_profilesource.bash_profile
2️⃣ Install node
Replace "NODE_MONIKER" with your name moniker
# Clone project repositorycd $HOMErm-rfseda-chaingitclonehttps://github.com/sedaprotocol/seda-chaincdseda-chaingitcheckoutv0.1.1# Build binarymakeinstall# Set node CLI configurationsedadconfigsetclientchain-idseda-1sedadconfigsetclientkeyring-backendfilesedadconfigsetclientnodetcp://localhost:25857source $HOME/.bash_profile# Initialize the nodesedadinit"NODE_MONIKER"--chain-idseda-1# Download addrbook,genesis filescurl-Lhttps://snapshots-mainnet.unitynodes.com/seda-mainnet/genesis.json> $HOME/.sedad/config/genesis.jsoncurl-Lshttps://snapshots-mainnet.unitynodes.com/seda-mainnet/addrbook.json> $HOME/.sedad/config/addrbook.json# Set seedssed -i -e 's|^seeds *=.*|seeds = "31f54fbcf445a9d9286426be59a17a811dd63f84@18.133.231.208:26656,ade4d8bc8cbe014af6ebdf3cb7b1e9ad36f412c0@seeds.polkachu.com:25856,cec848e7d4c5a7ae305b27cda133d213435c110f@seed-seda.ibs.team:16679,400f3d9e30b69e78a7fb891f60d76fa3c73f0ecc@seda.rpc.kjnodes.com:17359,20e1000e88125698264454a884812746c2eb4807@seeds.lavenderfive.com:25856,cec848e7d4c5a7ae305b27cda133d213435c110f@seed-seda.ibs.team:16679,ebc272824924ea1a27ea3183dd0b9ba713494f83@seda-mainnet-seed.autostake.com:26866,c28827cb96c14c905b127b92065a3fb4cd77d7f6@seeds.whispernode.com:25856,b85358e035343a3b15e77e1102857dcdaf70053b@seeds.bluestake.net:24656,31f54fbcf445a9d9286426be59a17a811dd63f84@18.133.231.208:26656"|' $HOME/.sedad/config/config.toml
# Set minimum gas pricesed-i-e's|^minimum-gas-prices *=.*|minimum-gas-prices = "10000000000aseda"|' $HOME/.sedad/config/app.toml# Set pruningsed-i \-e's|^pruning *=.*|pruning = "custom"|' \-e's|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|' \-e's|^pruning-interval *=.*|pruning-interval = "17"|' \ $HOME/.sedad/config/app.toml#Change portsed-i.bak-e"s%:1317%:2317%g; s%:8080%:2380%g;s%:9090%:2390%g;s%:9091%:2391%g;s%:8545%:2345%g;s%:8546%:2346%g;s%:6065%:2365%g" $HOME/.sedad/config/app.tomlsed-i.bak-e"s%:26658%:23658%g;s%:26657%:23657%g;s%:6060%:2360%g;s%tcp://0.0.0.0:26656%tcp://0.0.0.0:23656%g;s%:26660%:23660%g" $HOME/.sedad/config/config.tomlsed-i.bak-e"s%:26657%:23657%g" $HOME/.sedad/config/client.toml# Download latest chain data snapshotcurlhttps://snapshots-mainnet.unitynodes.com/seda-mainnet/seda-mainnet-latest.tar.lz4|lz4-dc-|tar-xf--C $HOME/.sedad# Create a servicesudotee/etc/systemd/system/sedad.service>/dev/null<<EOF[Unit]Description=SEDA node serviceAfter=network-online.target[Service]User=$USERExecStart=$(which sedad) startRestart=on-failureRestartSec=10LimitNOFILE=65535[Install]WantedBy=multi-user.targetEOFsudosystemctldaemon-reloadsudosystemctlenablesedad.service# Start the service and check the logssudosystemctlstartsedad.servicesudojournalctl-usedad.service-f-ocat
📝 Create Validator
1️⃣ Create wallet
sedadkeysaddwallet
Save all information after entering the command, without this you will not be able to restore data to the wallet. SAVE SEED PHRASE (12 words).
2️⃣ Buy tokens to start a node on one of the CEX / DEX exchanges
After that, copy your newly created wallet from the terminal and send the purchased tokens to the SEDA network
3️⃣ View your wallet balance
sedadkeysqbankbalances"address"
if the balance is displayed - continue further
4️⃣ View the sync status of your node
sedadstatus|jq|grep"catching_up"
If "true" - not synchronized // "false" - synchronized
5️⃣ Create validator
sedadtxstakingcreate-validator \--amount=1000000aseda \--pubkey=$(sedad tendermintshow-validator) \--moniker"Alex" \ #Validatorname,displayedinexplorers.--identity"" \ #UseyourKeyBaseID.Ifyoudon't have one, leave it empty.--website "mywebsite.com" \ #Your website is available, or leave the field blank--details "A reliable validator of your network" \ #Any details about your validator.--chain-id=seda-1 \--commission-rate=0.10 \--commission-max-rate=0.20 \--commission-max-change-rate=0.01 \--min-self-delegation=1 \--from=wallet \ #or your wallet name--gas-prices=10000000000aseda \--gas-adjustment=1.5 \--gas=auto \-y
After entering the command, you will receive hash transactions, check the status in the explorer