Sign inSign up

parallelchainlab/pchain_compile

By parallelchainlab

•Updated about 2 years ago

pchain_compile is a toolchain for building WASM smart contracts for deployment on ParallelChain F.

Image
0

10K+

parallelchainlab/pchain_compile repository overview

⁠Overview

The components described in the table below constitute the build toolchain for smart contract deployment on ParallelChain F. This docker image is used by pchain_compile a build CLI tool for generating WASM binaries from smart contract code written in Rust by ParallelChain Lab.

The following are the components that are used to create this image.

The smart contract compilation tool pchain_compile use image with tag "latest" as default image

Image Tagrustcwasm-snipwasm-opt
latest1.80.10.4.0114
0.4.41.80.10.4.0114
0.4.31.77.10.4.0114
0.4.21.71.00.4.0114
mainnet011.66.10.4.0109
  • rustc: Compiler for Rust.
  • wasm-snip: WASM utility which removes functions within the wasm file that are neither transitively called by helper methords or are never be called at runtime.
  • wasm-opt: WASM utility to load WebAssembly in text format and run Binaryen IR passes to optimize its size. For more information on Binaryen IR see here⁠.
⁠Image Tag Naming strategy
  • latest: Newest docker image accpeted by smart contract compilation tool pchain_compile.
  • *-legacy: Only for backup and does not accepted by pchain_compile published on crates.io⁠ anymore.
  • mainnet01: For users who do not willing to update rust version (since Mainnet launched in 2023) but still want to compile smart contract by pchain_compile with docker.
  • <n1>.<n2>.<n3>:
    • n1 indicates Big version change, which is upgrading in BlockChain itself forces upgrading in docker image.
    • n2 indicates Moderate version change, which is updating in pchain_compile forces updating in docker image.
    • n3 indicates Small version changes, which is rust/wasm-snip/wasm-opt version changing, or patching of the image itself.
⁠WARNING

Images tagged as "latest-legacy" and "old-legacy" are only for backup and do not accepted by pchain_compile anymore. The original tag name for these 2 tag are: "latest" and "old".

Tag summary

Content type

Image

Digest

sha256:f2811f721…

Size

554.2 MB

Last updated

about 2 years ago

docker pull parallelchainlab/pchain_compile