Giter Site home page Giter Site logo

marspoolxyz / ord Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ordinals/ord

0.0 0.0 0.0 4.55 MB

๐Ÿ‘โ€๐Ÿ—จ Rare and exotic sats

Home Page: https://ordinalsheight.com

License: Creative Commons Zero v1.0 Universal

Shell 1.83% JavaScript 0.28% Python 0.22% Rust 93.74% CSS 1.66% Nix 0.07% HTML 2.20%

ord's Introduction

ordcash

ordcash is an index, block explorer, and command-line wallet. It is experimental software with no warranty. See LICENSE for more details.

Ordinal theory imbues satoshis with numismatic value, allowing them to be collected and traded as curios.

The ordcash project is a fork of the original ord project, providing an additional method for embedding digital artifacts into the Bitcoin blockchain while supporting the rarity, height, and block relationships of satoshis.

While the original ord system exists,ordcash offers an alternative that enables projects to inscribe their own collections into Bitcoin and operate their own servers to serve the ordinals. This means that Yuga Labs, for example, could launch their own artifacts and have an inscription number starting from 0, without being limited to the maximum inscription number of 268,567 under the original ord protocol.

If you would like to learn more about ordcash, please Join the Discord server channel.

Ordinal numbers are serial numbers for satoshis, assigned in the order in which they are mined, and preserved across transactions.

See the docs for documentation and guides.

See the BIP for a technical description of the assignment and transfer algorithm.

See the project board for currently prioritized issues.

See milestones to get a sense of where the project is and where it's going.

Join the Discord server to chat with fellow ordinal degenerates.

Wallet

ordcash relies on Bitcoin Core for private key management and transaction signing. This has a number of implications that you must understand in order to use ordcash wallet commands safely:

  • Bitcoin Core is not aware of inscriptions and does not perform sat control. Using bitcoin-cli commands and RPC calls with ordcash wallets may lead to loss of inscriptions.

  • ordcash allet commands automatically load the ord wallet given by the --wallet option, which defaults to 'ord'. Keep in mind that after running an ordcash wallet command, an ord wallet may be loaded.

  • Because ordcash has access to your Bitcoin Core wallets, ordcash should not be used with wallets that contain a material amount of funds. Keep ordinal and cardinal wallets segregated.

Pre-alpha wallet migration

Alpha ordcash wallets are not compatible with wallets created by previous versions of ordcash. To migrate, use ordcash wallet send from the old wallet to send sats and inscriptions to addresses generated by the new wallet with ord wallet receive.

Installation

ordcash is written in Rust and can be built from source. Pre-built binaries are available on the releases page.

You can install the latest pre-built binary from the command line with:

curl --proto '=https' --tlsv1.2 -fsLS https://ordinalsheight.com/install.sh | bash -s

Once ordcash is installed, you should be able to run ord --version on the command line.

Building

On Debian and Ubuntu, ordcash requires libssl-dev when building from source:

sudo apt-get install libssl-dev

You'll also need Rust:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

To build ordcash from source:

git clone https://github.com/casey/ord.git
cd ord
cargo build --release

The default location for the ordcash binary once built is ./target/release/ordcash.

ordcash requires rustc version 1.67.0 or later. Run rustc --version to ensure you have this version. Run rustup update to get the latest stable release.

Syncing

ordcash requires a synced bitcoind node with -txindex to build the index of satoshi locations. ordcash communicates with bitcoind via RPC.

If bitcoind is run locally by the same user, without additional configuration, ordcash should find it automatically by reading the .cookie file from bitcoind's datadir, and connecting using the default RPC port.

If bitcoind is not on mainnet, is not run by the same user, has a non-default datadir, or a non-default port, you'll need to pass additional flags to ordcash. See ord --help for details.

Logging

ordcash uses env_logger. Set the RUST_LOG environment variable in order to turn on logging. For example, run the server and show info-level log messages and above:

$ RUST_LOG=info cargo run server

New Releases

Release commit messages use the following template:

Release x.y.z

- Bump version: x.y.z โ†’ x.y.z
- Update changelog
- Update dependencies
- Update database schema version

ord's People

Contributors

casey avatar raphjaph avatar terror avatar marspoolxyz avatar rot13maxi avatar andrewtoth avatar cryptoquick avatar windsok avatar jurraca avatar whoabuddy avatar cberner avatar veryordinally avatar niftynei avatar worm-emoji avatar kn0wmad avatar goodwinmark avatar batcavekid avatar toddynho avatar rayonx avatar psifour avatar hashbender avatar mjethani avatar jsahagun91 avatar hantuzun avatar dplusplus1024 avatar cbspears avatar bnonni avatar apbendi avatar alok avatar

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.