소스 검색

Fixed some issues

L0STE 10 달 전
부모
커밋
a7df515040
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      src/pages/token-metadata/guides/anchor/token-claimer-smart-contract.md

+ 5 - 1
src/pages/token-metadata/guides/anchor/token-claimer-smart-contract.md

@@ -94,7 +94,11 @@ cargo add anchor-spl
 
 {% callout title = "Disclaimer" %}
 
-todo()!
+This example is not a full-fledged implementation suitable for production. To make it production-ready, several additional components and considerations are necessary:
+
+- **Event Emission**: Use the `event!()` macro to emit events for important actions, such as successful claims or updates to the Merkle root. Alternatively, you can integrate with Solana's noop program to log updates and facilitate data indexing for off-chain applications.
+
+- **Database Hosting**: You'll need to store and host the complete Merkle tree dataset off-chain and derive hashes for leaves and internal nodes other than generate and serve Merkle proofs dynamically and validate input consistency for claims.
 
 {% /callout %}