This repository contains an example contract showing how to use bitcoinjs
in Codius.
To install the Codius command-line interface (CLI), run:
sudo npm install -g codius
To try this example contract, run:
git clone https://github.com/codius/example-bitcoin.git codius-example-bitcoin
cd codius-example-bitcoin
echo <bitcoin tx as hex> | codius run