Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mooncityorg/ordinal-lock

OrdinalLock is a Bitcoin Contract which allows an Ordinal to be offered up for sale on a decentralized marketplace. These listings can be purchased by anyone who is able to pay the requested price. Listings can also be cancelled by the person who listed them, or another pre-determined public key hash.
https://github.com/mooncityorg/ordinal-lock

bitcoin brc20 ordinal smart-contracts

Last synced: 2 months ago
JSON representation

OrdinalLock is a Bitcoin Contract which allows an Ordinal to be offered up for sale on a decentralized marketplace. These listings can be purchased by anyone who is able to pay the requested price. Listings can also be cancelled by the person who listed them, or another pre-determined public key hash.

Awesome Lists containing this project

README

        

# Ordinal Lock

OrdinalLock is a Bitcoin Contract which allows an Ordinal to be offered up for sale on a decentralized marketplace. These listings can be purchased by anyone who is able to pay the requested price. Listings can also be cancelled by the person who listed them, or another pre-determined public key hash.

OrdinalLock is based on the RelayX OrderLock which was designed to work with Run tokens. OrderLock has some requirements on how the spending transaction must be formatted which is incompatible with ordinals.

## Build

```sh
npm run build
```

## Testing Locally

```sh
npm run test
```

## Run Bitcoin Testnet Tests

```sh
npm run testnet
```