Polymesh Private is intended to be a private instance of the Polymesh blockchain, run within a private network.
Polymesh Private also includes some additional functionality to allow for the creation, management and settlement of confidential assets, using encrypted balances and zero-knowledge proofs with on-chain verification.
For information on Polymesh, please see: https://github.com/PolymeshAssociation/Polymesh
Polymesh Private has two runtimes configured - production and development. These are largely similar except that the development runtime includes the "sudo" pallet.
Further details on Polymesh concepts and networks can be found at:
https://developers.polymesh.network/
Code documentation can be found at:
To prepare your development environment with the required compiler and tools refer to https://docs.substrate.io/main-docs/install/ for instructions applicable to your operating system.
Build Wasm and native code:
cargo build --release
You can start a development chain with:
./target/release/polymesh-private --dev
Detailed logs may be shown by running the node with the following environment variables set:
RUST_LOG=debug RUST_BACKTRACE=1 ./target/release/polymesh-private --dev
.
To access the Polymesh Chain using the Web Interface do the following:
-
Click on the Polymesh logo in the top-left corner of the UI. You can then select "Local Node" under the Development section.
Note: if the
polymesh-private
node above is on a different machine than your browser (e.g., a server on your local network), you'll need to use a "custom endpoint", e.g.,ws://192.168.0.100:9944/
. The Web Interface useshttps
, but yourpolymesh-private
instance does not, so you'll needws://
as opposed towss://
. You'll also need to usehttp://httpapp.polymesh.live/
instead of Web Interface. Otherwise, you'll have problems with mixed-content blocking (https vs. http). Finally, add--rpc-external --ws-external --rpc-cors all
to thepolymesh-private
invocation above. -
Reload the page.
Use of the software is governed by the license in, LICENSE.pdf. Commercial licenses are available, for inquires relating to commercial licenses please contact [email protected].
Polymesh is built using the Substrate Framework.