Giter Site home page Giter Site logo

w3f-grants-archive / datdot-node-rust Goto Github PK

View Code? Open in Web Editor NEW

This project forked from datdotorg/datdot-node-rust

0.0 1.0 0.0 84.17 MB

datdot blockchain node in rust

Home Page: https://playproject.io/datdot-node-rust

License: GNU General Public License v3.0

Shell 0.46% Rust 97.42% JavaScript 2.12%

datdot-node-rust's Introduction

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.

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.

datdot-node-rust's People

Contributors

andresilva avatar arkpar avatar bkchr avatar cheme avatar chevdor avatar cmichi avatar demi-marie avatar expenses avatar gabreal avatar gavofyork avatar gnunicorn avatar jimpo avatar joshorndorff avatar kianenigma avatar kigawas avatar ltfschoen avatar marcio-diaz avatar mxinden avatar nikvolf avatar pepyakin avatar rphmeier avatar shawntabrizi avatar sorpaas avatar stanislav-tkach avatar svyatonik avatar thiolliere avatar tomaka avatar tomusdrw avatar tripleight avatar xlc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.