Holdstation/Worldchain-SDK
This document provides a comprehensive guide for integrating the Holdstation/WorldChain SDK to support core token functionalities within decentralized applications (dApps). The SDK enables seamless interaction with the WorldChain ecosystem, enhancing user experience and ensuring scalability for Web3-native applications.
The integration covers five key modules:
Token Integration: Fetch and display a user's token list, including balances and token metadata (e.g., native tokens, ERC-20).
Transaction History Integration: Retrieve and present detailed transaction history for any wallet on the WorldChain network.
Send Token Integration: Enable users to send tokens with proper configuration and transaction handling via the SDK.
Swap Integration: Facilitate token swaps directly within the app using WorldChainβs native swap functionality, allowing efficient asset conversion in a secure and user-friendly manner.
Widget Integration: Embed prebuilt WorldChain widgets into the application (e.g., connect wallet, token selector, transaction modals), reducing development time and ensuring UI/UX consistency across Web3 components.
Each section includes implementation steps, SDK methods, and sample code snippets to support rapid and reliable development.
Last updated