1 unstable release
0.1.0 | Sep 24, 2023 |
---|
#17 in #ordinal
115KB
2.5K
SLoC
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!
Dependencies
~11–20MB
~234K SLoC