Application implementing the minimum clique of AssetMantle modules enabling interNFT definition, issuance, ownership transfer and decentralized exchange.
- Minimal
- 4vCPU
- 32GB RAM
- 200GB SSD
- Recommended
- 8vCPU
- 64GB RAM
- 500GB SSD
NOTE: SSDs have limited TBW before non-catastrophic data errors. Running a full node requires a TB+ writes per day, causing rapid deterioration of SSDs over HDDs of comparable quality.
- Linux/MacOS(x86)
- Recommended
- Linux(x86_64)
Prerequisite: go1.19 required. ref Prerequisite: git. ref Optional requirement: GNU make. ref
- Clone git repository
git clone https://github.com/AssetMantle/node.git
git checkout v1.0.0
cd node
make all
mantleNode keys add [key_name]
or
mantleNode keys add [key_name] --recover
to regenerate keys with your BIP39 mnemonic
- Install mantleNode application
- Initialize node
mantleNode init [NODE_NAME]
- Replace
${HOME}/.mantleNode/config/genesis.json
with the genesis file of the chain. - Add
persistent_peers
orseeds
in${HOME}/.mantleNode/config/config.toml
- Start node
mantleNode start
- Initialize:
mantleNode init [node_name] --chain-id [chain_name]
- Add key for genesis account
mantleNode keys add [genesis_key_name]
- Add genesis account
mantleNode add-genesis-account [genesis_key_name] 10000000000000000000stake
- Create a validator at genesis
mantleNode gentx --name [genesis_key_name] --amount 10000000stake
- Collect genesis transactions
mantleNode collect-gentxs
- Start node
mantleNode start
- To start api server open 1317 port form
app.toml
Make sure you have latest docker version, Docker for mac can be slow. Recommend using linux
Start node and client
# port 26657 and 1317 are exposed
make docker-compose
make docker-clean
If you want to contribute to AssetMantle Modules, please read the instructions in CONTRIBUTING.md.