Skip to content

Instantly share code, notes, and snippets.

@yxf
yxf / bitcoin-inscription-service.ts
Created April 24, 2024 01:43 — forked from hans-crypto/bitcoin-inscription-service.ts
Extracts the first inscription from a Bitcoin transaction.
import axios from 'axios';
/**
* Bitcoin Script Opcodes
* see https://en.bitcoin.it/wiki/Script
*/
const OP_FALSE = 0x00;
const OP_IF = 0x63
const OP_0 = 0x00;
@yxf
yxf / keybase.md
Created September 11, 2019 08:24

Keybase proof

I hereby claim:

  • I am yxf on github.
  • I am faberyang (https://keybase.io/faberyang) on keybase.
  • I have a public key ASDOm5iFF2XTJd5lQtPU82m3PuC5aSFpJFsdlrT5aVAr9Qo

To claim this, I am signing this object: