Skip to content

blockset-corp/hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockset API - Hello, World!

A simple API which demonstrates how easy it is to use the Blockset API to get data.

This API exposes a single endpoint (GET /the-pizza-tx), which acts as a proxy to the Blockset API, and returns back the full Bitcoin transaction of the infamous Pizza Transaction.

Setup

Install dependencies

$ npm install

Create an .env file

$ cp .env.example .env

Set your Blockset API User JWT

Edit .env and set the BLOCKSET_API_USER_JWT variable to a valid User JWT.

If you don't have one, or don't know what this is, refer to the Blockset Authentication guide.

Run the API

$ npm start

View the blockchain data!

Navigate to http://localhost:3000/the-pizza-tx in your browser, and see the transaction that made history.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published