-
Notifications
You must be signed in to change notification settings - Fork 2
Building Beam Shaders
Anatol Sevostyan edited this page Jul 20, 2021
·
2 revisions
Beam Shader Examples can be found in the following directory: https://github.com/BeamMW/beam/tree/master/bvm/Shaders
Download or checkout this folder and follow the steps below
-
Install the latest version of clang for your platform from here. Use pre-built binaries section
-
From the parent folder run make_shader.bat (for Windows) or make_shader.sh (for Linux or Mac)
Example: make_shader.bat vault\contract
This operation will create .wasm files in the appropriate folders.
You need to build both contract and app shaders to deploy a new contract, or just an app shader to work with existing contract