ordi

ordi is a light indexer for building ordinals data source.

Usage

dump-event: use .env to export environments.

```rust export btcdatadir= export ordidatadir=

export btcrpchost= export btcrpcuser= export btcrpcpass=

// If indexpreviousoutputvalue is set true, // dump-event would reindex utxos at height 767430. // Else use rpc to get utxo like ord. export indexpreviousoutputvalue=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!