Ludium App Chain is a application chain based on Cosmos-SDK & CometBFT(Tendermint). This chain will be used for only education purpose.
# install chain
make install
# init chain
./scripts/init.sh
# start chain
./scripts/start.sh
- buy-name transaction
# send tx
ludiumappd tx nameservice buy-name foo 20stake --from alice -y --output json | jq .
# check tx
ludiumappd q tx <tx-hash>
- query whois messages by index
# query
ludiumappd q nameservice show-whois foo -o json | jq
# expected result
# {
# "whois": {
# "index": "foo",
# "name": "foo",
# "value": "",
# "price": "20stake",
# "owner": "cosmos1d2zgeskrvrvxjdsledwt5e0r26pyz5hgyhu63s"
# }
# }
- query all whois messages
# query
ludiumappd q nameservice list-whois -o json | jq .
# expected result
# {
# "whois": [
# {
# "index": "foo",
# "name": "foo",
# "value": "",
# "price": "20stake",
# "owner": "cosmos1d2zgeskrvrvxjdsledwt5e0r26pyz5hgyhu63s"
# }
# ],
# "pagination": {
# "next_key": null,
# "total": "0"
# }
# }
- more examples: https://docs.ignite.com/v0.25/guide/nameservice/play
- https://github.com/cosmos/cosmos-sdk/tree/v0.45.4/simapp
- https://github.com/cosmos/gaia/tree/v7.0.2
- https://github.com/Jeongseup/jeongseupchain
- https://github.com/cosmosregistry/chain-minimal
- https://gitlab.onechain.game/cosmos/cosmos-sdk/-/blob/5d32ed615210d9f88914dc78b842a9c107cc2ae7/scripts/protocgen.sh