ordi
is a fast light indexer for building ordinals data source.
export btc_data_dir=
export ordi_data_dir=
export btc_rpc_host=
export btc_rpc_user=
export btc_rpc_pass=
use ordi::*;
let mut ordi = Ordi::new(Options::default())?;
ordi.when_inscribe(inscribe_callback);
ordi.when_transfer(transfer_callback);
ordi.start()?;
ordi.close();
dump-event: use .env
to export environments, check .env.example
.
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.