dashpay/platform
Fork: 39 Star: 72 (更新于 2024-11-22 05:04:54)
license: MIT
Language: Rust .
L2 solution for seriously fast decentralized applications for the Dash network
最后发布版本: v1.6.0-pr.2287.1 ( 2024-11-06 21:52:29)
:
Seriously fast decentralized applications for the Dash network
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!
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 v20
- docker v20.10+
-
rust v1.80+, with wasm32 target (
rustup target add wasm32-unknown-unknown
) -
protoc - protobuf compiler v27.3+
- if needed, set PROTOC environment variable to location of
protoc
binary
- if needed, set PROTOC environment variable to location of
-
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,
in terminal run
echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> ~/.zshrc
orecho 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> ~/.bash_profile
depending on your default shell. You can find your default shell withecho $SHELL
- Reload your shell with
source ~/.zshrc
orsource ~/.bash_profile
-
-
cargo install wasm-bindgen-cli@0.2.86
- 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)
-
IMPORTANT (OSX only): built-in
- essential build tools - example for Debian/Ubuntu:
apt install -y build-essential libssl-dev pkg-config clang cmake llvm
- 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 callyarn start
first). Alternatively, you can run tests for a specific package by runningyarn workspace <package_name> test
, for example runningyarn 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 runningyarn 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 docs.dash.org. 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:
- Our Developers Discord
- Our CONTRIBUTING.md to get started with setting up the repo.
- Our news and blog which contains release posts and explanations.
License
最近版本更新:(数据更新于 2024-11-23 11:44:16)
2024-11-06 21:52:29 v1.6.0-pr.2287.1
2024-11-04 19:47:57 v1.5.1
2024-11-01 09:38:24 v1.5.0
2024-11-01 02:26:45 v1.5.0-rc.2
2024-10-30 19:06:18 v1.5.0-rc.1
2024-10-12 23:04:25 v1.4.1
2024-10-10 19:30:44 v1.4.0
2024-10-08 21:59:46 v1.4.0-dev.8
2024-10-07 23:27:44 v1.4.0-dev.7
2024-10-07 19:58:29 v1.4.0-dev.6
主题(topics):
blockchain, crypto, cryptocurrency, dapp, dapps, dash, decentralization, p2p
dashpay/platform同语言 Rust最近更新仓库
2024-11-23 21:43:05 gleam-lang/gleam
2024-11-22 05:42:56 lanyeeee/jmcomic-downloader
2024-11-19 08:50:55 lapce/lapce
2024-11-11 22:51:00 tauri-apps/tauri
2024-11-11 07:55:30 dani-garcia/vaultwarden
2024-11-09 16:42:37 rustdesk/rustdesk