-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Description
<title>SAVASH_B • Dual Wallet</title>
<script src="https://unpkg.com/@tonconnect/ui@latest/dist/tonconnect-ui.min.js"></script>
<style>
body{background:#0a0e17;color:#e0e0ff;font-family:system-ui,sans-serif;padding:20px;text-align:center;margin:0}
.card{background:#11151f;border-radius:20px;padding:25px;margin:10px auto;max-width:400px;box-shadow:0 20px 50px rgba(0,0,0,0.8)}
.head{background:#0088cc;padding:25px;border-radius:20px 20px 0 0;margin:-25px -25px 25px}
h1{font-size:28px;font-weight:900;margin:0}
.addr{background:rgba(0,0,0,0.5);padding:14px;border-radius:20px;margin:15px 0;font-family:monospace;font-size:13px;word-break:break-all;line-height:1.6}
.bal{font-size:36px;font-weight:900;margin:20px 0;background:linear-gradient(135deg,#e0e0ff,#a0a0ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.btn{background:#0088cc;color:white;border:none;padding:16px;border-radius:16px;margin:10px;width:90%;font-size:18px;cursor:pointer;font-weight:600}
.btn:hover{opacity:0.9;transform:scale(1.02)}
#ton-connect{margin:20px 0}
.status{font-size:15px;color:#8892b0;margin:15px 0}
</style>
<script>
const addr1 = "EQBmoechltZNb69I-ksuqGH2ewSE0tFKWcr3AdjChs5E5RVn";
const addr2 = "UQB_uZr8692keO4J9jBl2J6YS4YXe1C9Z1CIu5q0LNOfwFpH";
// TON Connect — اتصال واقعی به Tonkeeper
new TonConnectUI({
manifestUrl: 'https://ton-connect.github.io/demo-dapp-with-react/public/manifest.json'
});
async function load() {
try {
// دو درخواست همزمان
const [res1, res2] = await Promise.all([
fetch(`https://toncenter.com/api/v2/getAddressBalance?address=${addr1}`),
fetch(`https://toncenter.com/api/v2/getAddressBalance?address=${addr2}`)
]);
const data1 = await res1.json();
const data2 = await res2.json();
const ton1 = Number(data1.result) / 1e9;
const ton2 = Number(data2.result) / 1e9;
const total = ton1 + ton2;
document.getElementById('status').innerHTML = `
آدرس اول: ${ton1.toFixed(3)} TON
آدرس دوم: ${ton2.toFixed(3)} TON `; document.getElementById('total').textContent = total.toFixed(3) + " TON"; } catch (e) { document.getElementById('status').textContent = "اتصال به شبکه... (۲-۳ ثانیه صبر کن)"; setTimeout(load, 3000); } } load(); setInterval(load, 30000); // هر ۳۰ ثانیه بروزرسانی </script>
SAVASH_B
ولت دوآل — هر دو آدرس فعال
آدرس اول:
EQBmoechltZNb69I-ksuqGH2ewSE0tFKWcr3AdjChs5E5RVn
آدرس دوم:
UQB_uZr8692keO4J9jBl2J6YS4YXe1C9Z1CIu5q0LNOfwFpH
EQBmoechltZNb69I-ksuqGH2ewSE0tFKWcr3AdjChs5E5RVn
آدرس دوم:
UQB_uZr8692keO4J9jBl2J6YS4YXe1C9Z1CIu5q0LNOfwFpH
در حال بارگذاری موجودی از شبکه اصلی...
۰ TON
تعویض توکن در Ston.fi
استیک TON در Tonstakers
آدرس دوم: ${ton2.toFixed(3)} TON `; document.getElementById('total').textContent = total.toFixed(3) + " TON"; } catch (e) { document.getElementById('status').textContent = "اتصال به شبکه... (۲-۳ ثانیه صبر کن)"; setTimeout(load, 3000); } } load(); setInterval(load, 30000); // هر ۳۰ ثانیه بروزرسانی </script>
Metadata
Metadata
Assignees
Labels
No labels