SEDA is an open-source data transmission and computation network that enables a permissionless environment for developers to deploy data feeds. It is built on top of Cosmos SDK and CosmWasm.
To learn about SEDA protocol, please visit docs.seda.xyz.
To learn how to build a local version, please read developing.
To learn how to contribute, please read contributing.
The current minimal system requirements are as follows and may be subject to change based on future improvements:
- Quad Core or larger AMD or Intel (amd64) CPU
- ARM CPUs (e.g., Apple M1) are discouraged at this time
- 32GB RAM (with ample swap space)
- 1TB SSD Storage
- 100MBPS bidirectional internet connection
Running SEDA on lower-spec hardware is feasible, but you may encounter potential performance issues or an increased risk of crashes.
Download from our Github releases page.
Please check out developing.
This is a guide for operating and running the node.
- Individuals aiming to connect to an external node with SEDA.
- Those who wish to establish their own node and/or set up the node as a validator.
seda-chaind
is the command-line tool for interfacing, or CLI for short, with the SEDA blockchain. You can check out the installation instructions here.
Now, you're all set to engage with the SEDA blockchain via an external node. For a rundown of commands, type seda-chaind --help
. For in-depth info on a particular command, add the --help
flag, for example:
seda-chaind --help
seda-chaind query --help
seda-chaind query bank --help
This section is for those linking to an external node, so if you want to run commands from your local machine, or don't feel like running a node yourself you can use the seda-chaind
binary to connect to an external node. This can be done two ways:
- Add the
--node
flag to your CLI commands, followed by the RPC endpoint in thehttps://<hostname>:<port>
format. - Alternatively, set a default node:
seda-chaind config set client node https://[hostname]:[port]
When connecting externally, choose a trustworthy node operator. Unscrupulous operators might tamper with query outcomes or block transactions. The SEDA team currently supports these RPC endpoints:
- Testnet-seda-node-1:
http://3.10.185.200:26657
- Testnet-seda-node-2:
http://35.179.10.147:26657
<!-- make the downloaded binary executable -->
chmod +x seda-chaind-${ARCH}
<!-- chmod +x seda-chaind-amd64 -->
<!-- chmod +x seda-chaind-arm64 -->
<!-- reset the chain -->
./seda-chaind-${ARCH} tendermint unsafe-reset-all
rm -rf ~/.seda-chain || true
<!-- create your operator key -->
./seda-chaind-${ARCH} keys add <key-name>
<!-- initialize your node and join the network (optionally with an existing key using the recover flag) -->
./seda-chaind-${ARCH} join <moniker> --network <devnet|testnet> [--recover]
<!-- start your node -->
./seda-chaind-${ARCH} start
In order to create your validator, make sure you are fully synced to the latest block height of the network.
You can check by using the following command:
curl -s localhost:26657/status | jq .result | jq .sync_info
In the output of the above command make sure catching_up is false
“catching_up”: false
Create a validator.json file and fill in the create-validator tx parameters:
{
"pubkey": {"@type":"/cosmos.crypto.ed25519.PubKey","key":"$(./seda-chaind-${ARCH} tendermint show-validator)"},
"amount": "1000000000000000000000000000000000aseda",
"moniker": "the moniker for your validator",
"identity": "optional identity signature (ex. UPort or Keybase) This key will be used by block explorers to identify the validator.",
"website": "validator's (optional) website",
"security": "validator's (optional) security contact email",
"details": "validator's (optional) details",
"commission-rate": "0.1",
"commission-max-rate": "0.2",
"commission-max-change-rate": "0.01",
"min-self-delegation": "1"
}
Use the following command to create a validator:
./seda-chaind-${ARCH} tx staking create-validator validator.json --from <wallet-name> --chain-id <target-chain> --node <node-url>
That’s it now you can find your validator operator address using the following command, which you can advertise to receive delegations:
./seda-chaind-${ARCH} keys show <wallet-name> --bech val -a
Contents of this repository are open source under GNU General Public License v3.0.