Solana Token Creator Open Source
Network Settings
Revoke Authorities
Permanently revoke mint and/or freeze authorities from your token to make it fully decentralized. This action is irreversible.
Wallet Connection Required
Please connect your Solana wallet to use this feature. This ensures secure access and protects against unauthorized use.
- Change wallet
Terminal
>> Welcome to Mintme.dev Terminal
>> The Open Source Solana Token Creation Platform
>> Initializing environment...
>> Connecting to Solana Network...
>> Connection established successfully
>> NPM loaded: mintme-sdk@latest
>> Ready for token creation operations
>> Type or select parameters and click "Mint Token" to begin
$▌
Terminal
>> Welcome to Mintme.dev Terminal
>> The Open Source Solana Token Creation Platform
>> Initializing environment...
>> Connecting to Solana Network...
>> Connection established successfully
>> NPM loaded: mintme-sdk@latest
>> Ready for token creation operations
>> Type or select parameters and click "Mint Token" to begin
$▌
SDK Usage Examples
Use the mintme-sdk
to revoke token authorities programmatically:
import { revokeAuthoritySimple } from "mintme-sdk" // Configuration for the SDK const config = { mint: "YOUR_TOKEN_MINT_ADDRESS", revokeMint: true, // Set to false if you only want to revoke freeze authority revokeFreeze: true, // Set to false if you only want to revoke mint authority connection: "https://api.devnet.solana.com", // Or your custom RPC URL cluster: "devnet", // Or "mainnet-beta" partnerWallet: "YOUR_PUBLIC_KEY_HERE", // If you want get commission (Optional) partnerAmount: 0.0001, // Amount ot fhe commission (Optional) logger: console.log, // Optional logger function wallet: { publicKey, signTransaction, signAllTransactions, }, } // Use the SDK function to revoke authorities const result = await revokeAuthoritySimple(config) if (result.success) { console.log("Authorities revoked successfully!") console.log("Transaction signature:", result.txSignature) } else { console.error("Error:", result.error) }
Installation
Install the SDK using npm or yarn:
npm install mintme-sdk