ZBC to ZBCN Token Swap SDK
This SDK provides functionality to swap ZBC tokens to ZBC tokens using Solana blockchain.
Usage
To use this SDK, follow these steps:
-
Change Ownership: Use the changeOwnership function to change the ownership of ZBCN tokens to migrationPda.
-
Swap Tokens: Call the swapTokens function to initiate the token swap process.
CLI Snippet
To authorize the migration mint authority, use the following CLI command:
spl-token authorize <TokenAddress> mint <MigrationMintAuthorityAddress> --authority <authorityKeypair>
Contract Address
Devnet Contract Address: GaK9khMjEUcFszCnL2AsueRgdT2JYU1yK3tj9RHETpi4
Happy Hacking!
Feel free to explore and use this SDK for token swapping.