/extra-ordinaire

Inscription trading implementation in Rust

Primary LanguageRustGNU General Public License v3.0GPL-3.0

Extra-Ordinaire

A simple implementation of Bitcoin inscriptions trading based on PSBT written in Rust.

Specs

The setup assumes two bitcoin core wallets, one for the buyer named buyer and one for the seller named ord. The seller lists an Inscription it owns for sale by creating a PSBT with the Inscription as an output.

Usage

  • create an .env file and provide both:

  • Specify seller_inscription_id to sell (main.rs file)

  • cargo run

Acknowledgements

This implementation is based on Casey's suggestion and inspired by OpenOrdex implementation

Disclaimer

This is a proof of concept and should not be used in production. It is not audited and has not been tested in a real world scenario. Use at your own risk.