Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mooncityorg/ordinal-lock
- Owner: mooncityorg
- Created: 2024-07-10T09:28:23.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-10T09:29:13.000Z (7 months ago)
- Last Synced: 2024-11-30T13:42:55.273Z (2 months ago)
- Topics: bitcoin, brc20, ordinal, smart-contracts
- Language: TypeScript
- Homepage:
- Size: 153 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```