Skip to content

PolymeshAssociation/Polymesh-private

Repository files navigation

Discord Twitter Follow

Polymesh

Polymesh Private

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

Networks

Polymesh Private has two runtimes configured - production and development. These are largely similar except that the development runtime includes the "sudo" pallet.

Documentation

Further details on Polymesh concepts and networks can be found at:

https://developers.polymesh.network/

Code documentation can be found at:

https://docs.polymesh.live/

Build

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

Development

Single node development chain

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:

  1. 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 uses https, but your polymesh-private instance does not, so you'll need ws:// as opposed to wss://. You'll also need to use http://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 the polymesh-private invocation above.

  2. Reload the page.

License

LICENSE

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

Substrate Framework

Polymesh is built using the Substrate Framework.

Polymesh Website

Polymesh Website

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages