Chart

This revision is from 2025/06/22 10:53. You can Restore it.

{html}

Immortality's main swap is <a href="https://pancakeswap.finance/swap?inputCurrency=BNB&outputCurrency=0x2bf2141ed175f3236903cf07de33d7324871802d" target="_blank">PancakeSwap</a><!-- <a href="https://app.1inch.io/#/56/classic/swap/BNB/0x2bf2141ed175f3236903cf07de33d7324871802d" target="_blank">1inch</a></li>, <a href="https://julswap.com/#/swap?inputCurrency=0xe9e7cea3dedca5984780bafc599bd69add087d56&outputCurrency=0x2bf2141ed175f3236903cf07de33d7324871802d" target="_blank">JulSwap</a>, <a href="https://cheeseswap.app/#/swap?inputCurrency=0xe9e7cea3dedca5984780bafc599bd69add087d56&outputCurrency=0x2bf2141ed175f3236903cf07de33d7324871802d" target="_blank">CheeseSwap</a> →, you will need to download a crypto wallet to hold crypto, such as a popular one being <a href="https://metamask.io/" target="_blank">Metamask</a>. <a href="https://imt.cx/guide.html">Here is an extended guide</a>. Metamask or your favorite wallet, remember to save your public and private key pair to a safe place and save your wallet access username and password and password challenge along with your keys. Chart is provided by a non-affiliated, independent party. You are trading using your own wallet over PancakeSwap.

<ul style="padding-bottom: 20px">

<li><a href="https://metamask.io/" target="_blank">Install Metamask through the official homepage</a></li>

</ul>

<button id="connect" style="padding: 10px">➡️ Connect to Wallet</button>

<button id="addToken" style="padding: 10px">➡️ Add Immortality</button>

<script>

const connectButton = document.getElementById('connect');

const addTokenButton = document.getElementById('addToken');

// Binance Smart Chain Mainnet config

const bscParams = {

chainId: '0x38', // 56 in hex

chainName: 'Binance Smart Chain',

nativeCurrency: {

name: 'BNB',

symbol: 'BNB',

decimals: 18

},

rpcUrls: ['https://bsc-dataseed.binance.org/'],

blockExplorerUrls: ['https://bscscan.com']

};

// Immortality Coin details

const tokenDetails = {

address: '0x2bf2141ed175f3236903cf07de33d7324871802d',

symbol: 'IMT',

decimals: 8,

image: 'https://imt.cx/imtmm.png'

};

function isMobile() {

return /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);

}

function isMetaMaskBrowser() {

return typeof window.ethereum !== 'undefined' && window.ethereum.isMetaMask;

}

function redirectToMetaMaskApp() {

const dappUrl = window.location.hostname + window.location.pathname;

const metamaskDeepLink = 'https://metamask.app.link/dapp/' + dappUrl;

window.location.href = metamaskDeepLink;

}

async function connectWallet() {

if (isMobile() && !isMetaMaskBrowser()) {

redirectToMetaMaskApp();

return;

}

if (!window.ethereum) {

alert('MetaMask not detected!');

return;

}

try {

await window.ethereum.request({ method: 'eth_requestAccounts' });

const currentChain = await window.ethereum.request({ method: 'eth_chainId' });

if (currentChain !== bscParams.chainId) {

await window.ethereum.request({

method: 'wallet_addEthereumChain',

params: [bscParams]

});

}

alert('Wallet connected and switched to BSC!');

} catch (err) {

console.error(err);

alert('Error connecting wallet.');

}

}

async function addToken() {

if (isMobile() && !isMetaMaskBrowser()) {

redirectToMetaMaskApp();

return;

}

if (!window.ethereum) {

alert('MetaMask not detected!');

return;

}

try {

const wasAdded = await window.ethereum.request({

method: 'wallet_watchAsset',

params: {

type: 'ERC20',

options: {

address: tokenDetails.address,

symbol: tokenDetails.symbol,

decimals: tokenDetails.decimals,

image: tokenDetails.image

}

}

});

if (wasAdded) {

alert('IMT added to wallet!');

} else {

alert('Token not added.');

}

} catch (err) {

console.error(err);

alert('Error adding token.');

}

}

connectButton.onclick = connectWallet;

addTokenButton.onclick = addToken;

</script>

{/html}

Official channels.

  

📝 📜 ⏱️ ⬆️