Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Bitcoin indexing #215

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fetching test
  • Loading branch information
mj52951 committed Sep 11, 2024
commit 9bddbb01d8f1070ca545ced8f1393dc51eec302e
11 changes: 11 additions & 0 deletions fetch.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
async function fetch(){

const { verifiedFetch } = await import('@helia/verified-fetch')

const resp = await verifiedFetch("ipfs://bafybeifx7yeb55armcsxwwitkymga5xf53dxiarykms3ygqic223w5sk3m")
const json = await resp.json()
console.log(json)
}

fetch().then()

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@fastify/cors": "^8.2.1",
"@fastify/swagger": "^8.14.0",
"@fastify/swagger-ui": "^3.0.0",
"@helia/verified-fetch": "^1.5.0",
"@openzeppelin/contracts": "^4.8.3",
"@polkadot/api": "^10.6.1",
"@prisma/client": "^4.1.0",
Expand Down
Loading