Git Product home page Git Product logo

pauldelucia / platform Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dashpay/platform

0.0 0.0 0.0 244.56 MB

L2 solution for seriously fast decentralized applications for the Dash network

Home Page: https://dashplatform.readme.io/docs/introduction-what-is-dash-platform

License: MIT License

Shell 0.22% JavaScript 51.51% Python 0.33% C 0.50% Objective-C 0.40% Java 0.84% Prolog 0.01% Rust 44.95% TypeScript 1.08% HTML 0.05% Batchfile 0.01% Dockerfile 0.11%

platform's Introduction

:

babel

Seriously fast decentralized applications for the Dash network

GitHub CI Status Devs Chat General Chat Follow on Twitter

Dash Platform is a technology stack for building decentralized applications on the Dash network. The two main architectural components, Drive and DAPI, turn the Dash P2P network into a cloud that developers can integrate with their applications.

If you are looking for how to contribute to the project or need any help with building an app on the Dash Platform - message us on the Devs Discord!

Note: Dash Platform is currently available on the Dash Testnet only

Intro

This is a multi-package repository - sometimes also known as monorepository - that contains all packages that comprise the Dash platform - for example, Drive, which is the storage component of Dash Platform, the JavaScript SDK, wallet-lib, DAPI, and others. Every individual package contains its own readme. Packages are located in the packages directory.

Supported networks

Dash Platform is currently undergoing testing and final development necessary to support its release on the Dash production network (mainnet). The packages in this repository may be used on the following networks:

FAQ

How to build and set up a node from the code in this repo?

  • Clone the repo
  • Install prerequisites:
    • node.js v18
    • docker v20.10+
    • rust v1.67+, with wasm32 target (rustup target add wasm32-unknown-unknown)
    • wasm-bingen toolchain:
      • IMPORTANT (OSX only): built-in llvm on OSX does not work, needs to be installed from brew:
        • brew install llvm
        • LLVM installed from brew is keg only, and path to it must be provided in the profile file, e.g.echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> ~/.zshrc
      • install protoc - protobuf compiler:
        • on debian/ubuntu: apt install -y protobuf-compiler
        • on Mac: brew install protobuf
        • on other systems, install most recent version from Protocol Buffers releases page (tested with protobuf 22.4)
        • if needed, set PROTOC environment variable to location of protoc binary
      • cargo install [email protected]
        • double-check that wasm-bindgen-cli version above matches wasm-bindgen version in Cargo.lock file
        • Depending on system, additional packages may need to be installed as a prerequisite for wasm-bindgen-cli. If anything is missing, installation will error and prompt what packages are missing (i.e. clang, llvm, libssl-dev)
    • essential build tools - example for Debian/Ubuntu: apt install -y build-essential libssl-dev pkg-config clang
  • Run corepack enable to enable corepack and install yarn
  • Run yarn setup to install dependencies and configure and build all packages
  • Run yarn start to start the local dev environment built from the sources
  • Run yarn test to run the whole test suite (note that running tests requires a running node, so be sure to call yarn start first). Alternatively, you can run tests for a specific package by running yarn workspace <package_name> test, for example running yarn workspace @dashevo/dapi-client test will run tests for the JS DAPI client. To see all available packages, please see the packages readme
  • yarn stop will stop the local dev environment. Running a dev environment requires a non-trivial amount of system resources, so it is best to stop the local node when not in use
  • Run yarn build to rebuild the project after changes. If you have a local node running, you may need to restart it by running yarn restart
  • To completely reset all local data and builds, run yarn reset

Looking for support?

For questions and support, please join our Devs Discord

Where are the docs?

Our docs are hosted on readme.io. You can create issues and feature requests in the issues for this repository.

Want to report a bug or request a feature?

Please read through our CONTRIBUTING.md and fill out the issue template at platform/issues!

Want to contribute to Dash Platform?

Check out:

License

MIT

platform's People

Contributors

shumkov avatar jawid-h avatar antouhou avatar qrayven avatar alex-werner avatar strophy avatar quantumexplorer avatar nmarley avatar markin-io avatar pastapastapasta avatar dreyacosta avatar thephez avatar pshenmic avatar iammadab avatar cofresi avatar abvgedeika avatar pvrooyen avatar lklimek avatar fominok avatar dashameter avatar dalibran avatar seigler avatar dn-l avatar jaboski avatar shotonoff avatar pauldelucia avatar kamuelafranco avatar tonykode avatar prtfw avatar ktechmidas 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.