All Projects → playproject-io → datdot-node-rust

playproject-io / datdot-node-rust

Licence: GPL-3.0 License
datdot blockchain node in rust

Programming Languages

rust
11053 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to datdot-node-rust

polkadot-apps
Fork of Polkadot.js Apps with Subsocial types.
Stars: ✭ 17 (-60.47%)
Mutual labels:  substrate, polkadot
subsocial-node
NOTE: Development continues in https://github.com/dappforce/subsocial-parachain repo. Subsocial full node with Substrate/Polkadot pallets for decentralized communities: blogs, posts, comments, likes, reputation.
Stars: ✭ 73 (+69.77%)
Mutual labels:  substrate, polkadot
digital-assets-association-poland
🐋 🐋 https://meetup.com/Silesia-Blockchain-Meetup 🐋 🐋
Stars: ✭ 14 (-67.44%)
Mutual labels:  substrate, polkadot
substrate-debug-kit
A collection of debug tools, scripts and libraries on top of substrate.
Stars: ✭ 96 (+123.26%)
Mutual labels:  substrate, polkadot
nft-gallery
NFT Explorer 🗺 🧭 running on Kusama and Polkadot
Stars: ✭ 281 (+553.49%)
Mutual labels:  substrate, polkadot
Astar
The dApp hub for blockchains of the future
Stars: ✭ 533 (+1139.53%)
Mutual labels:  substrate, polkadot
substrate-graph
a compact graph indexer stack for parity substrate, polkadot, kusama
Stars: ✭ 28 (-34.88%)
Mutual labels:  substrate, polkadot
subwasm
Subwasm is a cli utility to help you know more about WASM Runtimes. It help downloading, inspecting and comparing Substrate based chains such as Polkadot or Kusama.
Stars: ✭ 53 (+23.26%)
Mutual labels:  substrate, polkadot
crunch
Crunch is a command-line interface (CLI) and Matrix Bot to claim staking rewards every Era for Substrate-based chains
Stars: ✭ 34 (-20.93%)
Mutual labels:  substrate, polkadot
common
Utilities and base libraries for use across polkadot-js for Polkadot and Substrate. Includes base libraries, crypto helpers and cross-environment helpers. Full documentation & examples available.
Stars: ✭ 221 (+413.95%)
Mutual labels:  substrate, polkadot
polkaswap-web
Polkaswap is a non-custodial, cross-chain AMM DEX protocol for swapping tokens based on Polkadot and Kusama relay chains, Polkadot and Kusama parachains, and blockchains directly connected via bridges. Polkaswap removes trusted intermediaries and provides the opportunity for faster trading.
Stars: ✭ 43 (+0%)
Mutual labels:  substrate, polkadot
rmrk-substrate
Nested, conditional & Multi-resourced NFTs.
Stars: ✭ 44 (+2.33%)
Mutual labels:  substrate, polkadot
ares
Completely decentralized oracle protocol
Stars: ✭ 51 (+18.6%)
Mutual labels:  substrate, polkadot
polkawallet-flutter
Replace to: https://github.com/polkawallet-io/app
Stars: ✭ 107 (+148.84%)
Mutual labels:  substrate, polkadot
polkascan-os
Polkascan Open Source
Stars: ✭ 52 (+20.93%)
Mutual labels:  substrate, polkadot
reef-chain
EVM compatible chain with NPoS/PoC consensus
Stars: ✭ 142 (+230.23%)
Mutual labels:  substrate, polkadot
polkadot-wiki-old
The Polkadot wiki.
Stars: ✭ 56 (+30.23%)
Mutual labels:  substrate, polkadot
mangata-node
Mangata ❤️ Substrate & Polkadot
Stars: ✭ 52 (+20.93%)
Mutual labels:  substrate, polkadot
substrate-tcr-ui
A react.js frontend for Substrate TCR runtime.
Stars: ✭ 14 (-67.44%)
Mutual labels:  substrate, polkadot
jupiter
Wasm smart contract networks powered by Substrate FRAME Contracts pallet in Polkadot ecosystem.
Stars: ✭ 49 (+13.95%)
Mutual labels:  substrate, polkadot

DatDot

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

join our telegram or gitter chat

datdot code is currently located in pallets/datdot.

the template node uses instant-seal consensus, and a minimal runtime.

Building

to build the datdot dev runtime, run:

cargo build -p datdot-runtime

to build the test node, run:

cargo build -p datdot-node

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 respectively.

Note

If you are having trouble building with the commands above, you can try this recipe (shared by @erangell)

git clone https://github.com/playproject-io/datdot-substrate.git
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs/ -sSf | sh
rustup toolchain install nightly-2020-08-14
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
rustup default nightly-2020-08-14
rustup update
rustup update nightly-2020-08-14
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-08-14
cargo +nightly-2020-08-14 check 
cargo build -p datdot-node --release

Custom Types

You can aggregate the custom types of any pallets in datdot-node/pallets by running: node datdot-node/runtime/aggregate_types.js This will produce a types.json file.

Performing this requires each pallet defined in aggregate_types.js have their own types.json file premade.

Running

currently, executing ./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 native::info!(...) calls.

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 · 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].