add buttons for adding tokens/network

main
lza_menace 3 years ago
parent d74b643f83
commit 473554fe53

@ -25,11 +25,20 @@
You can run it anywhere and see all the content, you won't need my server (but you can use it). You can run it anywhere and see all the content, you won't need my server (but you can use it).
You should run your own. You should run your own.
You can control which content you see, store, and share (via IPFS pins). You can control which content you see, store, and share (via IPFS pins).
I'll deploy an immutable smart contract with what sounds aite, I'll deploy an immutable smart contract with some tipping and storage features,
everyone can make their own clients (yall can use mine, it's flask), everyone can make their own clients (you can use mine, it's Flask/Python),
we make some documentation for you fucks to read (lol), we make some documentation for you fucks to read (lol),
then memers can run it and go to the races; the only limit is their own hard drives. then memers can run it and go to the races; the only limit is their own hard drives.
</p> </p>
</br>
<div class="columns">
<div class="column">
<a class="button is-info" onclick="addWOWX()">Add WOWX Tokens</a>
</div>
<div class="column">
<a class="button is-info" onclick="addAvalancheNetwork()">Add Avalanche Network</a>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>

@ -119,12 +119,7 @@
async function addWOWX() { async function addWOWX() {
let tokenAddress; let tokenAddress = '{{ config.WOWX_ADDRESS }}';
if ('{{ config.CONTRACT_TESTNET }}' == 'True') {
tokenAddress = '0xc6B039b1e0be1ba0B433f319898438E782E5dEBA';
} else {
tokenAddress = '0xba5dc7e77d150816b758e9826fcad2d74820e379';
}
try { try {
await ethereum.request({ await ethereum.request({
method: 'wallet_watchAsset', method: 'wallet_watchAsset',

Loading…
Cancel
Save