Playground plugin for Thyra
This plugin embeds the massa smartcontract playground and serve it has a standalone server. The backend api is used to execute the smart contract simulator and return the results to the frontend.
./install.sh
./build.sh
This script performs the following actions:
- create a
build
directory. - downloads the simulator binary for the current OS in
build/simulator
. - launch the Go build process which produce a
thyra-playground-plugin
binary inbuild
- copy the
manifest.json
file inbuild
In development mode:
go run cmd/main.go
Run the built binary:
cd build && ./thyra-playground-plugin
Optionnal flags:
- --port {int}