Beitrag
Teile dein Wissen.
How to add a token to Suiet and Slush wallets?
How to add a token to Suiet and Slush wallets?
- Move
Antworten
1When you bridge or mint a new token on Sui, wallets like Suiet or Slush won’t automatically display it — you need to manually add the token’s coin type. In both wallets, the process is pretty similar: first, get the coin type address of the token (for example, USDC might look like 0x...::usdc::USDC
). You can usually find this in the project’s docs, from the Sui Explorer, or by querying the object on-chain. Once you have it, open your wallet, go to the Add Token / Manage Tokens option, and paste the full coin type string. After saving, your balance will show whenever you hold that coin.
If you’re working in code and want to verify the coin type before adding, you can use the TypeScript SDK like this:
import { SuiClient } from "@mysten/sui.js/client";
const client = new SuiClient({ url: "https://fullnode.mainnet.sui.io" });
async function getCoins(owner: string) {
const coins = await client.getAllBalances({ owner });
console.log("All tokens:", coins);
}
getCoins("0xYourSuiAddressHere");
Weißt du die Antwort?
Bitte melde dich an und teile sie.
Move is an executable bytecode language used to implement custom transactions and smart contracts.
Verdiene deinen Anteil an 1000 Sui
Sammle Reputationspunkte und erhalte Belohnungen für deine Hilfe beim Wachstum der Sui-Community.