The test initializes the GlobalConfig
account.
-
Generating Global Config PDA...
-
Global Config Address: View Account on Solana Explorer
-
Transaction Signature: View Transaction on Solana Explorer
-
Global Config Account Data:
{ "admin": "AwaK517AuviY4K5RfVxBQJWtpHPAAYrSUfGaimG21kDy", "transferManagerBumps": 255, "mintBumps": 255, "transferManager": "6Qfrazzzqifu3e4Ff1J6WB4765yjZC1AbnQJ4bzhdUYb", "mint": "Gt41GseFWhefDMwS8gKs3PBz2NQBpuVL6kiGTRRi6srN" }
✅ All assertions passed. Global Config initialized successfully.
The test creates a token and its associated metadata.
- Fetching Global Config...
- Global Config Account:
{ "admin": "AwaK517AuviY4K5RfVxBQJWtpHPAAYrSUfGaimG21kDy", "transferManagerBumps": 255, "mintBumps": 255, "transferManager": "6Qfrazzzqifu3e4Ff1J6WB4765yjZC1AbnQJ4bzhdUYb", "mint": "Gt41GseFWhefDMwS8gKs3PBz2NQBpuVL6kiGTRRi6srN" }
- Starting transaction to create a token...
- Transaction Signature: View Transaction on Solana Explorer
- Fetching newly created Mint Account...
- Mint Account Info:
{ "address": "Gt41GseFWhefDMwS8gKs3PBz2NQBpuVL6kiGTRRi6srN", "mintAuthority": "6Qfrazzzqifu3e4Ff1J6WB4765yjZC1AbnQJ4bzhdUYb", "supply": 0, "decimals": 9, "isInitialized": true, "freezeAuthority": "6Qfrazzzqifu3e4Ff1J6WB4765yjZC1AbnQJ4bzhdUYb" }
✅ Token successfully created and validated.
The test mints tokens to an associated token account.
-
Fetching Global Config...
-
Fetching or creating Associated Token Account...
-
Associated Token Account Address: View Account on Solana Explorer
-
Starting transaction to mint tokens...
-
Transaction Signature: View Transaction on Solana Explorer
-
Fetching Associated Token Account Info...
-
Associated Token Account Info (After Mint):
{ "address": "38qoL6hKoTJzne9AN3i2CXrEs67chz83ZKtZt7nvp55E", "mint": "Gt41GseFWhefDMwS8gKs3PBz2NQBpuVL6kiGTRRi6srN", "owner": "AwaK517AuviY4K5RfVxBQJWtpHPAAYrSUfGaimG21kDy", "amount": 1000000000000000, "isInitialized": true, "isFrozen": false }
✅ Tokens minted successfully and validated.
The test burns tokens from an associated token account.
- Fetching Global Config...
- Fetching or creating Associated Token Account...
- Associated Token Account Address: View Account on Solana Explorer
- Token Account Info (Before Burn):
{ "amount": 1000000000000000 }
- Burning tokens...
- Transaction Signature: View Transaction on Solana Explorer
- Token Account Info (After Burn):
{ "amount": 999500000000000 }
✅ Burn successful. Tokens burned as expected.
- Total Tests: 4
- Passed: 4
- Failed: 0
- Execution Time: ~15s