Interacting with Solana Programs
Advanced developers may bypass Tokery’s high-level API and interact directly with the on-chain programs for maximum decentralization. Tokery fully embraces the openness of blockchain:
The program IDs for Tokery’s smart contracts (asset token program, etc.) will be published. Developers can use Solana’s SDKs (e.g., Anchor framework) to construct transactions interacting with these programs. For example, you could directly call an instruction to initialize a new asset mint on Tokery’s program if you have all required parameters and signatures, mimicking what the Tokery backend does.
The SPL tokens minted by Tokery are standard, so any Solana-savvy developer can integrate those tokens into wallets, DeFi protocols, or other applications. If an asset is unrestricted, it behaves like a normal token. If it has restrictions, attempts to transfer or trade it outside allowed parameters will simply fail (the program will reject the transaction), which one can detect via transaction logs.
However, even with direct on-chain access, using Tokery’s APIs is recommended for convenience and to ensure compliance steps (like KYC checks) are not skipped. The API and the on-chain actions are designed to mirror each other (API calls ultimately result in on-chain instructions). Institutional partners (like banks or fintech apps) can integrate at whichever level suits them – API for simplicity or on-chain for full control.
In summary, Tokery provides a developer-friendly environment to integrate real-world asset tokenization. With comprehensive APIs, real-time events, and adherence to open standards, developers can build on Tokery as a tokenization-as-a-service platform. Whether it’s integrating into a banking system or building a custom front-end for clients, Tokery’s infrastructure is ready to support with high performance and flexibility.
Last updated