Crates.io | ordi |
lib.rs | ordi |
version | 0.1.0 |
source | src |
created_at | 2023-09-24 14:07:13.075126 |
updated_at | 2023-09-24 14:07:13.075126 |
description | Light indexer for Ordinals. |
homepage | https://github.com/hertarr/ordi |
repository | https://github.com/hertarr/ordi |
max_upload_size | |
id | 981945 |
size | 171,738 |
ordi
is a light indexer for building ordinals data source.
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
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.