A Phoenix-powered web application serving an HTTP API for Operate.
Operate is a toolset to help developers build applications, games and services on top of Bitcoin (SV). It lets you write functions, called "Ops", and enables transactions to become small but powerful programs, capable of delivering new classes of services layered over Bitcoin.
More infomation:
Endpoint | Parameters |
---|---|
Retrieves a list of all Ops. |
|
Retrieves a single Op. |
|
Retrieves the raw Op function. |
|
Retrieves a list of all Op versions. |
|
Retrieves a single Tape and responds with an array of tape cells. |
|
Runs the Tape and responds with the tape result. |
|
To run the API locally:
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.setup
- Start Phoenix endpoint with
mix phx.server
- Visit
http://localhost:4000/ops
from your browser.
The Pheonix application itself is purely a read-only web API. It is intended to be used in conjunction with Operate | Planaria which indexes the blockchain.
© Copyright 2019 Chronos Labs Ltd.