Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vondas-network/btc-axios

A website that executes a HTTP GET request Axios hosted on the Bitcoin blockchain using the Ordinal protocol
https://github.com/vondas-network/btc-axios

api axios bitcoin blockchain btc html5 javascript ordinals ordinals-nft rest-api

Last synced: 25 days ago
JSON representation

A website that executes a HTTP GET request Axios hosted on the Bitcoin blockchain using the Ordinal protocol

Awesome Lists containing this project

README

        



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 tag. This is a form of decentralized HTTP protocols.

## References
- [Axios as Bitcoin Ordinal](https://ordinals.com/content/6b81993428a217a341ffd68f3b3aa3664b2cfc674d57aad0d3b6daa0f125b821i0)

## How to use?
Clone the library.

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

Open _index.html_ and it will look like this ...

<h3 align="left">
<img height="50%" width="50%" src="https://github.com/vondas-network/btc-axios/assets/7625379/dfec9d9f-976c-4d05-a8f6-d36dc389f026"/>
</h3>

Open the web browser inspector. Click the button and look at the response.
<h3 align="left">
<img height="50%" width="50%" src="https://github.com/vondas-network/btc-axios/assets/7625379/dd24ce92-2555-4ec7-8def-0de089c66da7"/>
</h3>

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