Skip to content

Create required cli commands and api endpoints#6

Open
felipelincoln wants to merge 11 commits intoord-ocm-explorerfrom
snapshot
Open

Create required cli commands and api endpoints#6
felipelincoln wants to merge 11 commits intoord-ocm-explorerfrom
snapshot

Conversation

@felipelincoln
Copy link

@felipelincoln felipelincoln commented Mar 15, 2023

  • Added the endpoint /inscription_by_number/:number
    To use this endpoint start the ord server

    sudo ./target/release/ord -s --cookie-file ~/.bitcoin/signet/.cookie --rpc-url 127.0.0.1:38332 server
    
  • Added the endpoint /block_json/:height

  • Added the snapshot cli command ord snapshot
    To use this cli run

    sudo ./target/release/ord -s --cookie-file ~/.bitcoin/signet/.cookie --rpc-url 127.0.0.1:38332 snapshot > inscriptions_snapshot.csv
    
  • Added a set of queries cli commands ord query <sat|block|inscription>

@felipelincoln felipelincoln self-assigned this Mar 15, 2023
@felipelincoln felipelincoln changed the base branch from master to ord-ocm-explorer March 15, 2023 22:09
ericatallah
ericatallah previously approved these changes Mar 15, 2023
@ericatallah ericatallah force-pushed the ord-ocm-explorer branch 2 times, most recently from ba8f592 to 07b40ba Compare March 15, 2023 22:35
@felipelincoln felipelincoln changed the title Create snapshot cli and /inscription_by_number/ api endpoint Create required cli commands and api endpoints Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants