zbc-migration-sdk
v1.0.0-dev.2
Published
Sdk for migrating zbc - zbcn
Downloads
2
Readme
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.