Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.53 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.53 KB

Executing decentralized HTTP requests using Javascript and Bitcoin Ordinals

Description

An example website that executes a HTTP GET request Axios hosted on the Bitcoin blockchain using the Ordinal protocol. Users can execute a HTTP GET request via Axios hosted on the Bitcoin blockchain using the Ordinal protocol. A Bitcoin Ordinal inscribed with the minified Axios version 1.4.0 library is available as a CDN on the Bitcoin blockchain. You can access the Bitcoin version of Axios by calling the Ordinal URL using the <script> tag. This is a form of decentralized HTTP protocols.

References

How to use?

Clone the library.

git clone [email protected]:vondas-network/btc-axios.git

Open index.html and it will look like this ...

Open the web browser inspector. Click the button and look at the response.

An HTTP GET request was created using Axios hosted on the Bitcoin blockchain using the Ordinal protocol.