What is SANDSHREWサンド ?
Last updated
Last updated
What is Sandshrew?
Sandshrew is a comprehensive and extensible resource for developers building Bitcoin or ordinals-native applications. The API is an all-inclusive JSON-RPC service tailored specifically for developers seeking full access to Bitcoin-compatible blockchain datasets. Sandshrew enables developers to build applications for Bitcoin without hosting any server-side components, providing an API that encompasses the expressiveness of mainstream block-explorer APIs, with a familiar JSON-RPC schema.
What makes Sandshrew different?
Unprecedented Data Access: Sandshrew offers comprehensive access to Bitcoin blockchain data, extending standard JSON-RPC with advanced block-explorer functionalities and integrating ordinals indexing. This means developers can build more sophisticated and feature-rich applications with ease.
Immediate Deployment: With the upcoming integration of Metashrew, custom indexes can be immediately deployed and accessed via Sandshrew, streamlining the development process and reducing time to market.
Who is Sandshrew for?
Sandshrew is for developers and businesses that require reliable and comprehensive data on Bitcoin layer 1 through a unified JSON RPC. It appeals to projects that need common endpoints for efficient data retrieval and integration. As opposed to searching through sub command directories and patching together numerous tools to access the same functionality users can get it all with Sandshrew.
Current Usability
Sandshrew provides the standard Bitcoin JSON-RPC, extending it with block-explorer-like functionality. Additionally, the RPC embeds the full functionality of the canonical ord server process, made available as additional JSON-RPC methods. This allows developers to orchestrate wallet services, block explorers, and applications written for Bitcoin, without relying on faulty block explorer REST endpoints.
Key Features of Sandshrew
Bitcoin JSON-RPC: Standard Bitcoin data is available from plain usage of the RPC. The RPC is itself compatible with Bitcoin RPC client libraries, as the JSON-RPC method namespace will fall back to the hosted Bitcoin node for the target network.
Block-explorer APIs: Endpoints for transactions, block details, realtime mempool access, spendable UTXOs by address, and more.
Ordinals Indexer: Complete feature set of the ord server process, updated to include data for runes. For example, with Sandshrew, you can merge block-explorer calls with runes balance sheets for given outpoints to fetch a complete balance sheet for runes by wallet.
BRC-20: Embedded in the RPC is the open-source OPI stack published by bestinslot-xyz, providing full indexing support for upstream BRC20 protocol definitions.
Future Direction and Metashrew Integration
In the near future, Sandshrew will introduce a significant enhancement through Metashrew, making it easy for developers to add their own custom hosted indexes. These custom indexes will be hosted on Sandshrew and made accessible via the Unified JSON RPC, unlocking new development possibilities and ensuring that Sandshrew can meet the diverse needs of its users.
User-Generated Indexes Will Change the Game
User-generated indexes mean that developers are no longer limited by the data endpoints provided by infrastructure providers. They can create and deploy their own custom indexes, enabling:
Innovation: Developers can experiment with new types of data and applications, pushing the boundaries of what’s possible with Bitcoin.
Customization: Tailored solutions can be developed to meet specific needs, whether for wallets, marketplaces, or other applications.
Efficiency: By building exactly what they need, developers can optimize their applications for performance and functionality.