Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create required cli commands and api endpoints #6

Open
wants to merge 11 commits into
base: ord-ocm-explorer
Choose a base branch
from

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