Coder Social home page Coder Social logo

wenre / breaker-of-jpegs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from supertestnet/breaker-of-jpegs

1.0 0.0 0.0 530 KB

A tool for increasing the off-by-one bug in ordinal explorers

License: Creative Commons Zero v1.0 Universal

JavaScript 100.00%

breaker-of-jpegs's Introduction

Breaker of jpegs

A tool for increasing the off-by-one bug in ordinal explorers

How to break inscription numbers

On 2023-05-04 I introduced an off-by-one bug into ordinal explorers in the following bitcoin transaction: https://mempool.space/tx/c1e0db6368a43f5589352ed44aa1ff9af33410e4a9fd9be0f6ac42d9e4117151

The index.js tool in this repository will let you do the same thing. Here are the steps:

  1. Clone this github repo: git clone https://github.com/supertestnet/breaker-of-jpegs.git
  2. Enter the directory and make it a nodejs pacakge: cd breaker-of-jpegs && npm init -y
  3. Ensure you are running node version 19.0.0. (I installed nvm and then ran nvm install 19.0.0 to do this.)
  4. Install the dependencies: npm i crypto @cmdcode/buff-utils @cmdcode/crypto-utils @cmdcode/tapscript url prompt-sync
  5. Modify your package.json and add this line to turn the package into a module: "type": "module", <-- add that line under "main": "index.js",
  6. Run the app with node index.js
  7. Send 10k sats to the bitcoin address it shows you
  8. Enter the txid and vout of your transaction when it prompts you for that info
  9. It will spit out two bitcoin transactions. Send both of them to a bitcoin miner to get them mined. Note that you cannot broadcast the transactions into your mempool because they are non-standard and nodes won't relay them. Instead, send them directly to a miner and ask them politely to inject them into their block template. Lots of mining pools have telegram channels or contact forms on their websites where you can do this. Ask me for help if you can't find a bitcoin miner on your own.
  10. I got my transactions mined through f2pool. Their website has contact links such as email/twitter/telegram in their footer: https://www.f2pool.com/ -- so consider asking them to mine your transactions like they mined mine

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.