a p2p solution for hosting files with Dat protocol (…more)
datdot code is currently located in
the template node uses instant-seal consensus, and a minimal runtime.
to build the datdot dev runtime, run:
cargo build -p datdot-runtime
to build the test node, run:
cargo build -p datdot-node
--release flag to either of those commands to create a release build - debug and release builds will be located in
You can aggregate the custom types of any pallets in
datdot-node/pallets by running:
This will produce a
Performing this requires each pallet defined in
aggregate_types.js have their own types.json file premade.
./target/release/datdot-node --dev (or
./target/debug/datdot-node --dev if you didn’t use a
--release flag) runs a dev node. You can interact with this node by using the Polkadot.js Apps UI - selecting “local node” as your endpoint in the settings page should connect you to your node; however, until you specify the additional types in the developer tab, all functionality of the Apps UI will remain disabled.
Optionally, additionally running with
--execution Native (case sensitive) will allow you to see more verbose logging from parts of the runtime using
NOTE: due to the nature of the instantseal consensus used in this node implementation, there is no concept of finality.
Datdot is built using Substrate - Original Readme:
Substrate is a next-generation framework for blockchain innovation.
The security policy and procedures can be found in
Substrate is GPL 3.0 licensed.