Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/vondas-network/btc-axios
- Owner: vondas-network
- Created: 2023-06-17T20:26:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-27T05:33:35.000Z (5 months ago)
- Last Synced: 2024-10-03T12:18:46.163Z (about 1 month ago)
- Topics: api, axios, bitcoin, blockchain, btc, html5, javascript, ordinals, ordinals-nft, rest-api
- Language: HTML
- Homepage:
- Size: 201 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.