Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert maldition into bless, always #3

Open
wants to merge 51 commits into
base: convertmalditionintoblessalways
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
6b2037b
Create CNAME
alexpvpmindustry Aug 21, 2021
8718a9a
add
alexpvpmindustry Aug 21, 2021
1e940bf
add
alexpvpmindustry Aug 21, 2021
abbebb5
addd
alexpvpmindustry Aug 21, 2021
ebb6fcb
add
alexpvpmindustry Aug 21, 2021
e701227
update
alexpvpmindustry Aug 21, 2021
0656c15
new
alexpvpmindustry Aug 22, 2021
acc1c52
test
alexpvpmindustry Aug 22, 2021
0c3c96a
working for now
alexpvpmindustry Aug 22, 2021
6db88b7
adding buttons
alexpvpmindustry Aug 22, 2021
719abe9
button part 1
alexpvpmindustry Aug 22, 2021
8de5e91
add
alexpvpmindustry Aug 27, 2021
151342d
addd
alexpvpmindustry Aug 28, 2021
c452b8d
add all
alexpvpmindustry Aug 28, 2021
c7b1ef2
adddd
alexpvpmindustry Aug 28, 2021
f87e590
addd
alexpvpmindustry Aug 28, 2021
9801578
working buy button
alexpvpmindustry Aug 31, 2021
3dce366
working example to buy DM
alexpvpmindustry Aug 31, 2021
1674d55
buy and sell
alexpvpmindustry Aug 31, 2021
b4968ba
should work now
alexpvpmindustry Aug 31, 2021
d3ec453
add
alexpvpmindustry Aug 31, 2021
25638dd
format doc
alexpvpmindustry Aug 31, 2021
24237f0
add values
alexpvpmindustry Aug 31, 2021
c399be3
remove not needed files
alexpvpmindustry Aug 31, 2021
1612e74
remove some comments
alexpvpmindustry Aug 31, 2021
6e4687f
change formating
alexpvpmindustry Aug 31, 2021
718c34f
nicer frormat
alexpvpmindustry Aug 31, 2021
926b35e
good
alexpvpmindustry Aug 31, 2021
e37d51c
add
alexpvpmindustry Sep 1, 2021
85ffcac
add pancake swap price
alexpvpmindustry Sep 1, 2021
6d5b029
add
alexpvpmindustry Sep 1, 2021
ecd8560
Create README.md
alexpvpmindustry Sep 4, 2021
dc9761b
Update README.md
alexpvpmindustry Sep 4, 2021
dcc8334
add
alexpvpmindustry Sep 13, 2021
6575658
add
alexpvpmindustry Sep 13, 2021
60761b4
add imgs
alexpvpmindustry Sep 13, 2021
54c81b7
add meta tags
alexpvpmindustry Sep 13, 2021
9a4f080
add meta tags
alexpvpmindustry Sep 13, 2021
41a69f2
nicer UI
alexpvpmindustry Sep 13, 2021
2ef49f4
fix alignment
alexpvpmindustry Sep 14, 2021
2ac23ba
format
alexpvpmindustry Sep 15, 2021
e2ee741
adding cards to the page
alexpvpmindustry Sep 15, 2021
ba864cf
add card
alexpvpmindustry Sep 15, 2021
9685425
finally some UI
alexpvpmindustry Sep 15, 2021
10118ec
add somemore
alexpvpmindustry Sep 15, 2021
5734114
add
alexpvpmindustry Sep 17, 2021
ac8c553
secure tag
alexpvpmindustry Sep 17, 2021
eccbb4c
Add adsense
alexpvpmindustry Jan 17, 2022
f9014bc
Create privacypolicy.html
alexpvpmindustry Jan 17, 2022
da970bb
Update index.html
alexpvpmindustry Jan 18, 2022
5ea5a93
Update CNAME
alexpvpmindustry Aug 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .vscode/backlaunch.json1
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "https://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
12 changes: 12 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"liveServer.settings.port": 5501,
"liveServer.settings.root": "/",
"liveServer.settings.CustomBrowser": "chrome",
"liveServer.settings.https": {
"enable": true,
"cert": "C:/Users/aktan/Documents/server_docs/httpskeys/localhost.pem",
"key": "C:/Users/aktan/Documents/server_docs/httpskeys/localhost.key",
"passphrase": "alexalex"
},
"liveServer.settings.host": "localhost"
}
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
token.dogemultiverse.sg
86 changes: 14 additions & 72 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,79 +1,21 @@
This is a vanilla JavaScript example how to use Web3modal with different wallet providers.
# purchaseTokensUI

The purpose of this example is how to connect a cryptocurrency wallet
to a website that is build on traditional HTML technologies and does not
use any modern JavaScript framework. Uses cases would include:
static HTML sites, WordPress, content management systems,
tutorials and education.
An example application how to use Web3modal from vanilla JavaScript

The example works with
# FEATURES

* In-browser wallets (MetaMask, Opera, Brave),
- use this page to buy and sell Doge Multiverse tokens.
- set your referal address to gain an extra 10% bonus when you buy from the contract.

* Mobile wallets through QR code scanning (WalletConnect)
# TODO:

* Account-based wallets (Fortmatic, others)
- make the interface look nicer

The code uses simple unprocessed in-browser JavaScript.
Dependencies, like the Web3Modal library itself,
are loaded over Unpkg CDN. The code is extensively
commented and short.

* [View demo hosted on Github](https://web3modal.github.io/web3modal-vanilla-js-example/)

![screenshot2](./screenshot2.png)

![screenshot](./screenshot.png)

# What should I do with this

[Web3modal](https://github.com/web3modal/web3modal)) is a vendor-neutral project
offering an easy integration of cryptocurrency and
decentralised finance for websites. For example, you can use this to start
accepting cryptocurrency payments on your site or to start
building a decentralised finance application.

# Support

[Go to Web3modal main Github repository](https://github.com/web3modal/web3modal).

Reach to us in [Web3modal Discord](https://discordapp.com/invite/YGnSX9y) or open a Github issue.

# Web3 wallets and HTTPS hosting limitations

Because of limitations how wallet operate within a web browser
and web security,
you should not run this example, or any Web3modal code,
out of your file system or insecure HTTP protocol
(even using localhost).

The APIs of different wallet providers
may fail in funny and obscure way.
MetaMask does not even show up if you load it over `file://`
protocol.

The easiest way to get local HTTPS development
is to use [https-localhost](https://github.com/daquinoaldo/https-localhost).

Assuming you have a working Node environment set up on a UNIX
system you can do:

```sh
npm i -g --only=prod https-localhost
sudo serve .
```

... in the folder of index.html file.

Then you can visit https://localhost to open the example.

# Publishing example on Github

To republish the example:

```sh
git push origin master:gh-pages
```

This will push `index.html` to https://web3modal.github.io/web3modal-vanilla-js-example/
- spinners when the data is loading
- follow theme from https://dogemultiverse.sg

- show historical/growth stats

- keep track of value gained or lost during buy period

- include yield farming from beefy finance
Loading