Blockchain Resource APIs for Secure NFT State Management
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing blockchain systems face security risks due to programming errors in smart contracts, which can compromise resource security.
Innovation Solution
Operations on resources such as creation, transfer, and deletion are performed through application programming interfaces (APIs) provided by the blockchain platform, ensuring secure processing of resources like non-fungible tokens (NFTs) and integral resources.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If smart contracts are used to manage resources in blockchain, then resource management functionality is improved, but security reliability deteriorates due to programming errors
Solution Approach 1:
The patent introduces a resource management service as an intermediary component that sits between the blockchain smart contracts and the resource operations. This service layer handles resource creation, transfer, and deletion through standardized interfaces, isolating the blockchain from direct programming errors while maintaining full resource management functionality.
Solution Approach 2:
The system is segmented into distinct modules: blockchain layer for consensus and storage, resource management service layer for business logic, and interface layer for API interactions. This segmentation allows the resource management functionality to be implemented through compositional operations rather than monolithic smart contracts, reducing the impact of programming errors.
2Reliability
If programming errors are avoided through API interfaces, then security reliability is improved, but device complexity increases
Solution Approach 1:
The resource management service implements universal interfaces that can handle multiple resource types (NFTs, integral resources, etc.) through a single standardized API framework. This multi-functionality approach improves security through unified error handling while managing complexity by reusing the same interface patterns across different resource types.
Solution Approach 2:
The system employs self-service mechanisms where the resource management service automatically handles resource operations through predefined interfaces without requiring manual programming of complex logic. The service autonomously manages state transitions, ensuring security while simplifying the overall system architecture through automation.
Data Source
AI summary
Disclosed are methods for processing resources in a blockchain, and blockchain nodes. In an implementation, a method includes: receiving a transaction, wherein the transaction invokes a contract to invoke a interface provided by a blockchain platform, execute the interface based on the transaction, determining whether a resource corresponding to a first storage key is stored in a contract state of the contract, and storing a first non-fungible token (NFT) resource in the contract state in association with the first storage key if the resource corresponding to the first storage key is not stored in the contract state of the contract.


