Need help with pWASM?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

133 Stars 5 Forks GNU General Public License v3.0 7 Commits 1 Opened issues


PlatON flavored WebAssembly

Services available


Need anything else?

Contributors list

No Data


PlatON flavored WebAssembly


Platon-contract includes C, C++ base libraries, and custom C++ library files.


Windows need to add -G "MinGW Makefiles" -DCMAKE_SH="CMAKE_SH-NOTFOUND"
Compile requires a specified path
1. WASM_ROOT Specify the platon-s2wasm platon-wast2wasm path
2. CLANG_ROOT Specify clang llvm-link llc to specify
3. PLATON_TOOL_ROOT Specified platon-abigen designation

User contract writing

First use the script/ script to generate a new project directory in the user directory. Simultaneously generate a simple cmake file, with the original project file. Such as executing the following command [home_dir] [target]

You will see the new

└── user
    ├── CMakeLists.txt
    └── [target]
        ├── CMakeLists.txt
        └── [target].cpp

You can write a new contract file in the new directory and re-execute the make command to compile.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.