Skip to content

mattsse/datdot-substrate

 
 

DatDot

a p2p solution for hosting files with Dat protocol (...more)

join our telegram or gitter chat

datdot code is currently located in pallet-datdot.

the default substrate node cli is modified - with custom governance, and most unneeded features removed, but pallet-datdot added. After substrate stabilizes at version 2.0.0, the scaffolding will be reduced and this repo will consist of a minimal test node and FRAME pallet.

Building

to build the datdot dev runtime, run:

cargo build -p node-runtime

to build the test node, run:

cargo build -p node-cli

add the --release flag to either of those commands to create a release build - debug and release builds will be located in ./target/release or ./target/debug

Running

currently, executing ./target/release/substrate --dev (or ./target/debug/substrate --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 native::info!(...) calls.


    Datdot is built using Substrate - Original Readme:

Substrate · GitHub license GitLab Status PRs Welcome

Substrate is a next-generation framework for blockchain innovation.

Trying it out

Simply go to substrate.dev and follow the getting started instructions.

Contributions & Code of Conduct

Please follow the contributions guidelines as outlined in docs/CONTRIBUTING.adoc. In all communications and contributions, this project follows the Contributor Covenant Code of Conduct.

Security

The security policy and procedures can be found in docs/SECURITY.md.

License

Substrate is GPL 3.0 licensed.

About

dat p2p seeding service

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.2%
  • Other 0.8%