Skip to content

Commit

Permalink
Merge pull request #360 from liquality/ethereum-provider-eip1193
Browse files Browse the repository at this point in the history
Ethereum provider eip1193
  • Loading branch information
monokh authored Oct 7, 2020
2 parents 2ff1b58 + a6cc5ec commit 107e490
Show file tree
Hide file tree
Showing 101 changed files with 1,436 additions and 400 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Query different blockchains with account management using a single and simple in
|[@liquality/ethereum-erc20-provider](./packages/ethereum-erc20-provider)|[![ChainAbstractionLayer](https://img.shields.io/npm/v/@liquality/ethereum-erc20-provider.svg)](https://npmjs.com/package/@liquality/ethereum-erc20-provider)|
|[@liquality/ethereum-erc20-swap-provider](./packages/ethereum-erc20-swap-provider)|[![ChainAbstractionLayer](https://img.shields.io/npm/v/@liquality/ethereum-erc20-swap-provider.svg)](https://npmjs.com/package/@liquality/ethereum-erc20-swap-provider)|
|[@liquality/ethereum-ledger-provider](./packages/ethereum-ledger-provider)|[![ChainAbstractionLayer](https://img.shields.io/npm/v/@liquality/ethereum-ledger-provider.svg)](https://npmjs.com/package/@liquality/ethereum-ledger-provider)|
|[@liquality/ethereum-metamask-provider](./packages/ethereum-metamask-provider)|[![ChainAbstractionLayer](https://img.shields.io/npm/v/@liquality/ethereum-metamask-provider.svg)](https://npmjs.com/package/@liquality/ethereum-metamask-provider)|
|[@liquality/ethereum-wallet-api-provider](./packages/ethereum-wallet-api-provider)|[![ChainAbstractionLayer](https://img.shields.io/npm/v/@liquality/ethereum-wallet-api-provider.svg)](https://npmjs.com/package/@liquality/ethereum-wallet-api-provider)|
|[@liquality/ethereum-networks](./packages/ethereum-networks)|[![ChainAbstractionLayer](https://img.shields.io/npm/v/@liquality/ethereum-networks.svg)](https://npmjs.com/package/@liquality/ethereum-networks)|
|[@liquality/ethereum-rpc-provider](./packages/ethereum-rpc-provider)|[![ChainAbstractionLayer](https://img.shields.io/npm/v/@liquality/ethereum-rpc-provider.svg)](https://npmjs.com/package/@liquality/ethereum-rpc-provider)|
|[@liquality/ethereum-swap-provider](./packages/ethereum-swap-provider)|[![ChainAbstractionLayer](https://img.shields.io/npm/v/@liquality/ethereum-swap-provider.svg)](https://npmjs.com/package/@liquality/ethereum-swap-provider)|
Expand All @@ -44,7 +44,6 @@ Query different blockchains with account management using a single and simple in
|[@liquality/ethereum-utils](./packages/ethereum-utils)|[![ChainAbstractionLayer](https://img.shields.io/npm/v/@liquality/ethereum-utils.svg)](https://npmjs.com/package/@liquality/ethereum-utils)|
|[@liquality/jsonrpc-provider](./packages/jsonrpc-provider)|[![ChainAbstractionLayer](https://img.shields.io/npm/v/@liquality/jsonrpc-provider.svg)](https://npmjs.com/package/@liquality/jsonrpc-provider)|
|[@liquality/ledger-provider](./packages/ledger-provider)|[![ChainAbstractionLayer](https://img.shields.io/npm/v/@liquality/ledger-provider.svg)](https://npmjs.com/package/@liquality/ledger-provider)|
|[@liquality/metamask-provider](./packages/metamask-provider)|[![ChainAbstractionLayer](https://img.shields.io/npm/v/@liquality/metamask-provider.svg)](https://npmjs.com/package/@liquality/metamask-provider)|
|[@liquality/provider](./packages/provider)|[![ChainAbstractionLayer](https://img.shields.io/npm/v/@liquality/provider.svg)](https://npmjs.com/package/@liquality/provider)|
|[@liquality/schema](./packages/schema)|[![ChainAbstractionLayer](https://img.shields.io/npm/v/@liquality/schema.svg)](https://npmjs.com/package/@liquality/schema)|
|[@liquality/utils](./packages/utils)|[![ChainAbstractionLayer](https://img.shields.io/npm/v/@liquality/utils.svg)](https://npmjs.com/package/@liquality/utils)|
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/ethereum/metamask-send-transaction.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h1>CAL + MetaMask: Sign a message (Ethereum)</h1>
} else {
const { Client, providers } = Bundle
const ethereum = new Client()
ethereum.addProvider(new providers.ethereum.EthereumMetaMaskProvider(web3.currentProvider))
ethereum.addProvider(new providers.ethereum.EthereumWalletApiProvider(web3.currentProvider))
ethereum.wallet.getAddresses().then(addresses => {
const from = addresses[0]
$('#send').click(() => {
Expand Down
44 changes: 44 additions & 0 deletions packages/bitcoin-earn-fee-provider/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion packages/bitcoin-earn-fee-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
"dependencies": {
"@babel/runtime": "^7.4.3",
"@liquality/provider": "^0.6.9",
"axios": "^0.19.2"
"ajv": "^6.12.5",
"axios": "^0.19.2",
"lodash": "^4.17.20"
},
"engines": {
"node": "~8.12.0"
Expand Down
Loading

0 comments on commit 107e490

Please sign in to comment.