diff --git a/.well-known/wallets/.BTC.proof b/.well-known/wallets/.BTC.proof new file mode 100644 index 0000000..a29568c --- /dev/null +++ b/.well-known/wallets/.BTC.proof @@ -0,0 +1,6 @@ +I hereby confirm that I am the owner of the Bitcoin address bc1q60qy4s6gd7se8z6nc4wu49g4u5y8k2epd3djzc. +Nathan.Woodburn/ +-------------------- +H3oLoxLyax3gW6KkGfJiarseaktWWydyfS2TZ1zGoDlkIoMG/nIlNWNC5xc/uHCdPs+CIJgxNRq0GQI91qkalpg= +-------------------- +You can verify this signature by pasting it into a signature verification tool such as https://www.verifybitcoinmessage.com/. \ No newline at end of file diff --git a/.well-known/wallets/.ETH.proof b/.well-known/wallets/.ETH.proof new file mode 100644 index 0000000..400745f --- /dev/null +++ b/.well-known/wallets/.ETH.proof @@ -0,0 +1,6 @@ +I hereby confirm that I am the owner of the EVM address 0x6cB4B39bEc23a921C9a20D061Bf17d4640B0d39e. +Nathan.Woodburn/ +-------------------- +0x254919e1f2035a4f04614da9e1fbc1f45dab31b03b0baf1bb3325a9f9e437f1f787b99ebc6716b822fc190284c2c678054c91835492ff0df239ec60f6166587f1c +-------------------- +You can verify this signature by pasting it into a signature verification tool such as https://etherscan.io/verifiedSignatures \ No newline at end of file diff --git a/.well-known/wallets/.SOL.proof b/.well-known/wallets/.SOL.proof new file mode 100644 index 0000000..051c106 --- /dev/null +++ b/.well-known/wallets/.SOL.proof @@ -0,0 +1,13 @@ +I hereby confirm that I am the owner of the SOL address AJsPEEe6S7XSiVcdZKbeV8GRp1QuhFUsG8mLrqL4XgiU. +Nathan.Woodburn/ +-------------------- +[71,63,207,190,90,17,145,39,4,98,110,176,86,140,143,107,237,96,24,43,2,116,21,70,47,98,192,24,193,210,89,220,30,128,219,105,9,35,146,188,216,143,164,32,255,44,146,249,153,33,54,214,203,159,80,26,107,165,217,240,153,61,39,0] +-------------------- +0x473fcfbe5a11912704626eb0568c8f6bed60182b027415462f62c018c1d259dc1e80db69092392bcd88fa420ff2c92f9992136d6cb9f501a6ba5d9f0993d2700 +-------------------- +2Rd2EkAUwC8u4DtCZ5BXTkJEvWxozrxmcEzn7VbJFFbL81YLQngH9V1bTu3vivaQz7ZGqs5YtpPWxomsYeE7Ws6F +-------------------- +Rz/PvloRkScEYm6wVoyPa+1gGCsCdBVGL2LAGMHSWdwegNtpCSOSvNiPpCD/LJL5mSE21sufUBprpdnwmT0nAA== +-------------------- +You can verify this signature by pasting it into a signature verification tool such as https://amacar.github.io/solana-tools/#verify-message +Please note I have included various formats for the signature to make it easier to verify. \ No newline at end of file diff --git a/.well-known/wallets/BTC b/.well-known/wallets/BTC index 327a2aa..55a762b 100644 --- a/.well-known/wallets/BTC +++ b/.well-known/wallets/BTC @@ -1 +1 @@ -bc1qhs94zzcw64qnwq4hvk056rwxwvgrkd7tq7d4xw \ No newline at end of file +bc1q60qy4s6gd7se8z6nc4wu49g4u5y8k2epd3djzc \ No newline at end of file diff --git a/server.py b/server.py index 9962898..14fec7f 100644 --- a/server.py +++ b/server.py @@ -523,6 +523,11 @@ def donate(): address = '' domain = '' cryptoHTML = '' + + proof = '' + if os.path.isfile(f'.well-known/wallets/.{crypto}.proof'): + proof = f'Proof of ownership' + if os.path.isfile(f'.well-known/wallets/{crypto}'): with open(f'.well-known/wallets/{crypto}') as file: address = file.read() @@ -530,12 +535,17 @@ def donate(): cryptoHTML += f'
Donate with {coinNames[crypto] if crypto in coinNames else crypto}:' else: cryptoHTML += f'
Donate with {token["name"]} {"("+token["symbol"]+") " if token["symbol"] != token["name"] else ""}on {crypto}:' - cryptoHTML += f'{address}' + cryptoHTML += f'
{address}' + + if proof: + cryptoHTML += proof elif token: if 'address' in token: address = token['address'] cryptoHTML += f'
Donate with {token["name"]} {"("+token["symbol"]+")" if token["symbol"] != token["name"] else ""}{" on "+crypto if crypto != "NULL" else ""}:' - cryptoHTML += f'{address}' + cryptoHTML += f'
{address}' + if proof: + cryptoHTML += proof else: cryptoHTML += f'
Invalid coin: {crypto}
' else: @@ -554,12 +564,14 @@ def donate(): cryptoHTML += '
Or send to this domain on compatible wallets:
' cryptoHTML += f'{domain}' if address: - cryptoHTML += 'QR Code' + cryptoHTML += '
QR Code' copyScript = '' cryptoHTML += copyScript + + return render_template('donate.html', handshake_scripts=handshake_scripts, crypto=cryptoHTML, coins=coins,default_coins=default_coins) @app.route('/qrcode/') diff --git a/templates/assets/img/proof.png b/templates/assets/img/proof.png new file mode 100644 index 0000000..1dabd38 Binary files /dev/null and b/templates/assets/img/proof.png differ