Burrow supports both Solidity and WASM smart contracts. You may be familiar with this former language if you have worked previously with Ethereum. If so, you will be pleased to know that Burrow can be used with Remix.
Let's start a chain with a single validator:
burrow spec -v1 | burrow configure -s- | burrow start -c-
For this step, we need two things: one or more solidity contracts and a deploy file. Let's take a simple example, found in this directory.
We need deploy.yaml
and storage.sol
in the same directory with no other yaml or sol files.
Solc is required to compile Solidity code.
From inside that directory, we are ready to deploy.
burrow deploy --address $ADDRESS deploy.yaml
Replace $ADDRESS
with the address at the top of your burrow.toml
.
That's it! You've successfully deployed (and tested) a Solidity contract to a Burrow node.