#!/bin/sh curl "localhost:5001/register" -H "Content-Type: application/json" -d '{"nodes": ["http://127.0.0.1:5000"]}' curl "localhost:5000/transactions/new" -H "Content-Type: application/json" -d '{"sender": "marc", "recipient": "samy", "amount": 50}' curl "localhost:5000/mine" curl -s "localhost:5000/chain" | jq curl -s "localhost:5001/chain" | jq curl "localhost:5001/resolve" curl -s "localhost:5001/chain" | jq