From 473554fe53e51f93ad47275021c7a402dfc51aec Mon Sep 17 00:00:00 2001
From: lza_menace
Date: Mon, 10 Jan 2022 11:55:48 -0800
Subject: [PATCH] add buttons for adding tokens/network
---
suchwowx/templates/about.html | 13 +++++++++++--
suchwowx/templates/includes/web3.html | 7 +------
2 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/suchwowx/templates/about.html b/suchwowx/templates/about.html
index 08b4cdb..12b4099 100644
--- a/suchwowx/templates/about.html
+++ b/suchwowx/templates/about.html
@@ -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.
+
+
diff --git a/suchwowx/templates/includes/web3.html b/suchwowx/templates/includes/web3.html
index 2df7ab9..2bc5494 100644
--- a/suchwowx/templates/includes/web3.html
+++ b/suchwowx/templates/includes/web3.html
@@ -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',