ordi

Crates.ioordi
lib.rsordi
version0.1.0
sourcesrc
created_at2023-09-24 14:07:13.075126
updated_at2023-09-24 14:07:13.075126
descriptionLight indexer for Ordinals.
homepagehttps://github.com/hertarr/ordi
repositoryhttps://github.com/hertarr/ordi
max_upload_size
id981945
size171,738
(Hertarr)

documentation

README

ordi

ordi is a light indexer for building ordinals data source.

Usage

dump-event: use .env to export environments.

export btc_data_dir=
export ordi_data_dir=

export btc_rpc_host=
export btc_rpc_user=
export btc_rpc_pass=

// If index_previous_output_value is set true,
// dump-event would reindex utxos at height 767430.
// Else use rpc to get utxo like ord.
export index_previous_output_value=false

let mut ordi = ordi::Ordi::new(false)?;
ordi.start()?;
ordi.close();

You could download snapshot for utxos at height 767430. Just unzip it into ordi_data_dir as folder output_value, And set environment export index_previous_output_value=false.

ordi_data_dir
|
---output_value

Contributing

If you wish to contribute to ordi, feel free to create a pull request. If you feel unsure about your plans, feel free to create an issue.

Happy Coding!

Commit count: 11

cargo fmt