mirror of
https://github.com/jwinterm/tubbymemes.git
synced 2026-10-17 05:21:28 +02:00
add buttons for adding tokens/network
This commit is contained in:
@@ -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 should run your own.
|
||||
You can control which content you see, store, and share (via IPFS pins).
|
||||
I'll deploy an immutable smart contract with what sounds aite,
|
||||
everyone can make their own clients (yall can use mine, it's flask),
|
||||
I'll deploy an immutable smart contract with some tipping and storage features,
|
||||
everyone can make their own clients (you can use mine, it's Flask/Python),
|
||||
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.
|
||||
</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>
|
||||
|
||||
@@ -119,12 +119,7 @@
|
||||
|
||||
|
||||
async function addWOWX() {
|
||||
let tokenAddress;
|
||||
if ('{{ config.CONTRACT_TESTNET }}' == 'True') {
|
||||
tokenAddress = '0xc6B039b1e0be1ba0B433f319898438E782E5dEBA';
|
||||
} else {
|
||||
tokenAddress = '0xba5dc7e77d150816b758e9826fcad2d74820e379';
|
||||
}
|
||||
let tokenAddress = '{{ config.WOWX_ADDRESS }}';
|
||||
try {
|
||||
await ethereum.request({
|
||||
method: 'wallet_watchAsset',
|
||||
|
||||
Reference in New Issue
Block a user