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

v10.1.0: adds polygon support (and updates ethers) #6

Merged
merged 1 commit into from
May 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
env:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'

node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
env:
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ https://depayfi.github.io/@depay/web3-wallets/dev.html
This library supports the following blockchains:

- [Ethereum](https://ethereum.org)
- [Binance Smart Chain](https://www.binance.org/en/smartChain)
- [BNB Smart Chain](https://www.binance.org/smartChain)
- [Polygon](https://polygon.technology)

This library supports the following wallets:

Expand Down Expand Up @@ -125,7 +126,7 @@ await wallet.connect() // ['0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B']
```javascript
let wallet = getWallet();
wallet.name // MetaMask
wallet.blockchains // ['ethereum', 'bsc']
wallet.blockchains // ['ethereum', 'bsc', 'polygon']
```

### Check if wallet is connected to a specific blockchain
Expand Down
6 changes: 3 additions & 3 deletions dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" href="https://depay.fi/favicon.png"/>
<title>Development</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://cdn.ethers.io/lib/ethers-5.4.umd.min.js" type="application/javascript"></script>
<link rel="stylesheet" href="https://unpkg.com/bootstrap@5/dist/css/bootstrap.css">
<script src="https://cdn.ethers.io/lib/ethers-5.6.umd.min.js" type="application/javascript"></script>
<script crossorigin src="https://unpkg.com/@depay/web3-blockchains@4"></script>
<script crossorigin src="https://unpkg.com/@depay/web3-constants@5"></script>
<script crossorigin src="https://unpkg.com/@depay/web3-client@8"></script>
<script crossorigin src="https://unpkg.com/@depay/walletconnect-v1@1.1"></script>
<script crossorigin src="https://unpkg.com/@depay/coinbase-wallet-sdk@0.9"></script>
<script crossorigin src="https://unpkg.com/@depay/coinbase-wallet-sdk@1"></script>
<script src="tmp/index.dev.js"></script>
<style>
.btn-primary {
Expand Down
Loading