This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import mempoolJS from "@mempool/mempool.js" | |
import { Transaction } from "bitcoinjs-lib" | |
const { | |
bitcoin: { transactions, blocks } | |
} = mempoolJS({ | |
hostname: "mempool.space" | |
}) | |
export const getTxHex = async txid => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// insert in the header.tsx file after the Runes-Logo `Link` element | |
<Link | |
href={"https://leather.io/learn/bitcoin-runes"} | |
target="_blank" | |
className={buttonVariants({ variant: "link" })} | |
> | |
What are Runes? | |
</Link> | |
<Link |