Every Solana trader should verify what they sign before connecting Phantom or installing a browser extension. Below is the exact auditable Pure 0x09 CloseAccount builder, live fee math (matching on-chain execution down to the basis point), and the strict DEX-scoped Chrome Extension v6.9.9 manifest & SHA-256 checksum.
0x09 CloseAccount ONLY (0 Burn unless explicitly opted in)pip install solana-rug-shieldWhen you click Reclaim SOL, your Phantom or Solflare wallet signs a standard Solana VersionedTransaction (v0) containing ONLY CloseAccount (opcode 0x09) instructions with destination === yourWalletPubkey and authority === yourWalletPubkey. Your browser simulates every transaction against Mainnet RPC before Phantom prompts you.
// MIT License — Solana Rent & Rug Shield Pure 0x09 CloseAccount Builder
// Program IDs:
// SPL Token: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
// Token-2022: TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb
function createPure0x09CloseAccountInstruction(emptyAtaPubkey, userWalletPubkey, tokenProgramId) {
return new solanaWeb3.TransactionInstruction({
programId: tokenProgramId,
keys: [
{ pubkey: emptyAtaPubkey, isSigner: false, isWritable: true }, // Empty ATA (balance === 0)
{ pubkey: userWalletPubkey, isSigner: false, isWritable: true }, // Rent destination: YOUR wallet
{ pubkey: userWalletPubkey, isSigner: true, isWritable: false } // Owner authority: YOUR signer
],
data: Uint8Array.from([9]) // 0x09 = CloseAccount ONLY (zero Burn, zero Transfer, zero Delegate)
});
}
// Fee Rule (matches backend FEE_BPS = 150):
// - First 10 empty ATAs closed: 0 bps (0% fee — zero fee transfer instruction included)
// - ATAs #11+ & repeat sweeps: 150 bps (1.5% atomic SystemProgram.transfer; 98.5% stays in your wallet)
// - Active 30-Day Pro Pass: 0 bps (0% fee for 30 days)
5fb6b830a7f0671356fa1b740958d7a814c7105738ebcd6f4671c2ff479942a6Exact manifest.json inside the live v6.9.9 extension bundle:
{
"manifest_version": 3,
"name": "Solana Rent & Rug Shield | 18-Layer Living Sentinel",
"short_name": "Rent & Rug Shield",
"version": "6.9.9",
"version_name": "6.9.9",
"description": "18-Layer Pre-Buy Rug Shield & Live Trench HUD (Read-Only): Layer 18 48h KOL Receipts, Bundler/Honeypot Defense & Pure 0x09 Rent Reclaim (0% First 10 Empty ATAs).",
"homepage_url": "https://rentandrugshield.com",
"permissions": [
"activeTab",
"storage",
"notifications",
"alarms"
],
"host_permissions": [
"https://pump.fun/*",
"https://*.pump.fun/*",
"https://dexscreener.com/*",
"https://*.dexscreener.com/*",
"https://gmgn.ai/*",
"https://*.gmgn.ai/*",
"https://jup.ag/*",
"https://*.jup.ag/*",
"https://raydium.io/*",
"https://*.raydium.io/*",
"https://app.meteora.ag/*",
"https://*.meteora.ag/*",
"https://meteora.ag/*",
"https://photon-sol.tinyastro.io/*",
"https://bullx.io/*",
"https://*.bullx.io/*",
"https://birdeye.so/*",
"https://*.birdeye.so/*",
"https://rentandrugshield.com/*",
"https://*.rentandrugshield.com/*"
],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self';"
},
"background": {
"service_worker": "background.js"
},
"action": {
"default_popup": "popup.html",
"default_title": "Solana Rent & Rug Shield v6.9.9 | 18-Layer Living Shield",
"default_icon": {
"16": "icons/shield_emerald_16.png",
"32": "icons/shield_emerald_32.png",
"48": "icons/shield_emerald_48.png",
"128": "icons/shield_emerald_128.png"
}
},
"content_scripts": [
{
"matches": [
"https://pump.fun/*",
"https://*.pump.fun/*",
"https://dexscreener.com/*",
"https://*.dexscreener.com/*",
"https://gmgn.ai/*",
"https://*.gmgn.ai/*",
"https://jup.ag/*",
"https://*.jup.ag/*",
"https://raydium.io/*",
"https://*.raydium.io/*",
"https://app.meteora.ag/*",
"https://*.meteora.ag/*",
"https://meteora.ag/*",
"https://photon-sol.tinyastro.io/*",
"https://bullx.io/*",
"https://*.bullx.io/*",
"https://birdeye.so/*",
"https://*.birdeye.so/*",
"https://rentandrugshield.com/*",
"https://*.rentandrugshield.com/*"
],
"js": [
"tx_decoder.js",
"threat_modal.js",
"content_guard.js"
],
"run_at": "document_start"
},
{
"matches": [
"https://pump.fun/*",
"https://*.pump.fun/*",
"https://dexscreener.com/*",
"https://*.dexscreener.com/*",
"https://gmgn.ai/*",
"https://*.gmgn.ai/*",
"https://jup.ag/*",
"https://*.jup.ag/*",
"https://raydium.io/*",
"https://*.raydium.io/*",
"https://app.meteora.ag/*",
"https://*.meteora.ag/*",
"https://meteora.ag/*",
"https://photon-sol.tinyastro.io/*",
"https://bullx.io/*",
"https://*.bullx.io/*",
"https://birdeye.so/*",
"https://*.birdeye.so/*",
"https://rentandrugshield.com/*",
"https://*.rentandrugshield.com/*"
],
"css": [
"content_shield.css"
],
"js": [
"latency_hud.js",
"content_shield.js"
],
"run_at": "document_idle"
},
{
"matches": [
"https://pump.fun/*",
"https://*.pump.fun/*",
"https://dexscreener.com/*",
"https://*.dexscreener.com/*",
"https://gmgn.ai/*",
"https://*.gmgn.ai/*",
"https://jup.ag/*",
"https://*.jup.ag/*",
"https://raydium.io/*",
"https://*.raydium.io/*",
"https://app.meteora.ag/*",
"https://*.meteora.ag/*",
"https://meteora.ag/*",
"https://photon-sol.tinyastro.io/*",
"https://bullx.io/*",
"https://*.bullx.io/*",
"https://birdeye.so/*",
"https://*.birdeye.so/*",
"https://rentandrugshield.com/*",
"https://*.rentandrugshield.com/*"
],
"js": [
"latency_hud.js",
"signal_notices.js",
"whale_alert_box.js",
"toast_overlay.js"
],
"run_at": "document_end"
}
],
"web_accessible_resources": [
{
"resources": [
"icon16.png",
"icon32.png",
"icon48.png",
"icon128.png",
"icons/shield_yellow_16.png",
"icons/shield_yellow_32.png",
"icons/shield_yellow_48.png",
"icons/shield_yellow_128.png",
"icons/shield_yellow_256.png",
"icons/shield_red_16.png",
"icons/shield_red_32.png",
"icons/shield_red_48.png",
"icons/shield_red_128.png",
"icons/shield_red_256.png",
"icons/shield_emerald_16.png",
"icons/shield_emerald_32.png",
"icons/shield_emerald_48.png",
"icons/shield_emerald_128.png",
"icons/shield_emerald_256.png",
"icons/shield_sapphire_16.png",
"icons/shield_sapphire_32.png",
"icons/shield_sapphire_48.png",
"icons/shield_sapphire_128.png",
"icons/shield_sapphire_256.png",
"carbon-toast.html",
"carbon-toast.js",
"whale_popup.html",
"whale_popup.js",
"whale_alert_box.js",
"sounds/*.wav",
"sounds/voices_manifest_v67.json"
],
"matches": [
"https://pump.fun/*",
"https://*.pump.fun/*",
"https://dexscreener.com/*",
"https://*.dexscreener.com/*",
"https://gmgn.ai/*",
"https://*.gmgn.ai/*",
"https://jup.ag/*",
"https://*.jup.ag/*",
"https://raydium.io/*",
"https://*.raydium.io/*",
"https://app.meteora.ag/*",
"https://*.meteora.ag/*",
"https://meteora.ag/*",
"https://photon-sol.tinyastro.io/*",
"https://bullx.io/*",
"https://*.bullx.io/*",
"https://birdeye.so/*",
"https://*.birdeye.so/*",
"https://rentandrugshield.com/*",
"https://*.rentandrugshield.com/*"
]
}
],
"commands": {
"trigger-live-trending-bubble": {
"suggested_key": {
"default": "Alt+Shift+B"
},
"description": "Trigger Live Trending Coin Bubble Instantly"
}
},
"icons": {
"16": "icons/shield_emerald_16.png",
"32": "icons/shield_emerald_32.png",
"48": "icons/shield_emerald_48.png",
"128": "icons/shield_emerald_128.png"
}
}