Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zmovane/inscription-indexer
Inscription indexer on EVM
https://github.com/zmovane/inscription-indexer
brc20 brc20-indexer eth-inscription evm-indexer evm-inscription evm-inscription-indexer inscription inscription-indexer inscriptions ordinals ordinals-indexer
Last synced: 5 days ago
JSON representation
Inscription indexer on EVM
- Host: GitHub
- URL: https://github.com/zmovane/inscription-indexer
- Owner: zmovane
- Created: 2023-12-20T17:45:56.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-01-04T10:18:29.000Z (11 months ago)
- Last Synced: 2024-05-17T06:50:58.879Z (6 months ago)
- Topics: brc20, brc20-indexer, eth-inscription, evm-indexer, evm-inscription, evm-inscription-indexer, inscription, inscription-indexer, inscriptions, ordinals, ordinals-indexer
- Language: Rust
- Homepage:
- Size: 125 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Inscription indexer on EVM
Since the start of the [brc-20 Experiment](https://domo-2.gitbook.io/brc-20-experiment/) initiated by domo, the Bitcoin ecosystem has begun to have a new narrative. Meanwhile, non-Bitcoin ecosystems have also followed the hype of Inscription.
### Inscription on EVM
Currently, there are three standard inscription formats.
```
// Deploy
data:,{"p":"brc-20","op":"deploy","tick":"wakaka","max":"21000000","lim":"1000"}// Mint
data:,{"p":"brc-20","op":"mint","tick":"wakaka","amt":"1000"}// Transfer
data:,{"p":"brc-20","op":"transfer","tick":"wakaka","amt":"900"}
```The data input is in hexadecimal string format and a self-transaction sent by a user is an inscription on EVM.
### How does inscription indexing work
Inscription need to be deployed first before users can start minting. Therefore, the indexer needs to be built from the first deploy, and the mint indexing ends when max supply is reached.### Usage
#### DB migration
```
cargo run --bin prisma -- migrate dev
```#### Running Indexer
```
RUST_LOG=info cargo run --bin inscription
```