sadoprotocol / ordit Goto Github PK
View Code? Open in Web Editor NEWOrdit Indexer, Parser, and API for Ordinals and Inscriptions.
License: MIT License
Ordit Indexer, Parser, and API for Ordinals and Inscriptions.
License: MIT License
The indexer only record the inscription inscribed on the first input. In my case, I was using batch inscriptions to create multiple inscriptions in one transaction, but only the first inscription was recorded in indexer.
Here is my transaction on testnet:
https://mempool.space/testnet/tx/40c71f4ed13b4587ba3831069edaa69e639e2b7d4ec5ec7ddc22a876c0d478e2
Here is the transaction on your explorer:
https://testnet.explorer.sado.space/tx/40c71f4ed13b4587ba3831069edaa69e639e2b7d4ec5ec7ddc22a876c0d478e2
You can also check the inscription information on this link:
https://testnet.ordinals.com/inscription/40c71f4ed13b4587ba3831069edaa69e639e2b7d4ec5ec7ddc22a876c0d478e2i19
Write up documentation for all the available API methods and endpoints.
Ensure that the community has easy access and documentation on how to consume the ordit api.
This will aim to lock down expectations of what the API produces so we can retain expected behavior in future updates.
Add a content moderation service that can be provided with an inscriptionId
to moderate and mark nsfw
if it contains questionable content.
To ensure that our services are compliant with potential regulations where nsfw
may not be appropriate we want to ensure to give pre-moderation of said material and mark them accordingly.
We may want to add this as part of the worker scope built in a way so that it can run on a independent server depending on the amount of resources this process needs. It needs to be able to process a anything from 1,000 - 10,000 inscriptions per block with an interval of 3 - 60 minutes.
We only need to run moderation over media content so it won't be every inscription in a block, and most inscriptions are text based so we shouldn't be seeing an unreasonable amount of media to cover per block.
Add support for OIP-02 Verifiable Ordinal Collection
Display the validity of ordinal collections.
Add mempool indexing to align with other explorers and pre-emptively update our own indexes to reflect better results for spendable and inscription transfers.
Currently we do minor tracking of movements that occur through our api. For example when someone relays a transaction we update our utxos with a spent state. Currently this only affects relays through our own api as we don't currently consume the mempool.
Another benefit is being able to handle known futures allows us to provide unconfirmed transaction information and show early movement of data such as BRC-20 and Sado events providing higher responsiveness of blockchain movement.
Add functionality to get ordinal aware overview over a wallets balances.
Optimized meta for wallets to display current balance state.
Original logic: https://github.com/sadoprotocol/utxo-api/blob/main/src/wallet.js
This should probably be its own index that mutates with blockchain changes.
We need a faucet that can distribute bitcoin to test addresses.
One needs some coins to test.
Look at porting over v1 regtest faucet functionality.
Add ability to ask for more blocks through pagination.
Supporting explorers by giving the ability to load more content.
Since the latest blocks will update behind the scenes, paginated results may not be 100% accurate when the index positions shift.
Add a method where the user can request a list of spendable utxos that fulfills a desired amount.
{
"jsonrpc": "2.0",
"method": "GetSpendables",
"params": {
"value": 1,
"options": {
"maxOrdinalRarity": "common"
},
"filter": [
{ "txid": "<txid>", "n": 0 }
]
},
"id": "postman"
}
Using GetUnspent
will result in many round trips for the pagination and also provides more details than required for a spendable utxo result. This method gives all the information needed in a single request for third party services to construct transactions using the provided result.
Add inscriptions indexer to streamline the ability to query inscription via api.
Ord does not inherently provide all the data we need in the way we need it. Also optimizing the specific data we care about for faster lookups.
The tooling around this is still very immature so the work here is substantial.
Add a filter option to Brc20.GetTokens
to only return tokens that has mint availability.
Allows for generating results that can be displayed for minters.
Move all public base code from SDK to API.
Trinity's main goal is to provide a single source of truth for multiple entities to make use of. To do this we want to move a majority of functionality from SDK to API.
Primary benefits:
This needs to be done in parallel to any work done in the SDK until we are fully feature complete and can update the SDK to become a thin layer without public functionality.
We need to be stringent with quality control on the switch for this as it will have significant outcomes from upstream consumers.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.