diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9f9b0cc2..b1bd76dd 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 664ab8a6..2169abfd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: diff --git a/README.md b/README.md index 5b7a4c8e..3ea2cadc 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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 diff --git a/dev.html b/dev.html index 5300c1fe..f037151f 100644 --- a/dev.html +++ b/dev.html @@ -5,13 +5,13 @@ Development - - + + - +