This is an example implementation of the Flowser playground, which will replace the current Flow playground.
Note: This was a prototype project. Development continued on flow-wasm and flowser repos.
- Clone project from Github
- Deploy the project contracts
- View and edit project files
- Execute transactions and scripts
- View project logs and blockchain state
Install dependencies:
cd web && npm i
Start backend:
go run cmd/main.go
Start client:
cd web && npm run dev
Since the dependency onflow/crypto depends on native C libraries and uses cgo to build that, we must have a C compiler installed locally.
When cross-compiling from MacOS, you must install the MinGW toolchain with:
brew install mingw-w64
Then you can build the program for Windows with:
CGO_ENABLED=1 GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc go build cmd/main.go