Skip to content

Commit

Permalink
fix: tests and dependencies
Browse files Browse the repository at this point in the history
fix etherscan rate limit using api key
fix iota node
remove NotSupportedCurrencyError from ccxt exchange get balance
fix ava test error

BREAKING CHANGE: remove bitcoin block explorer
  • Loading branch information
Coac committed Mar 3, 2021
1 parent bb453af commit 4dbe961
Show file tree
Hide file tree
Showing 10 changed files with 8,046 additions and 4,474 deletions.
2 changes: 1 addition & 1 deletion demo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const Provider = require('./index').providers['ethereum.etherscan']
const provider = new Provider();
const provider = new Provider({apiKey: process.env.ETHERSCAN_API_KEY});

(async function () {
const res = await provider
Expand Down
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
const ExchangeCCXTFactory = require('./src/providers/ExchangeCCXT')


const providers = {}
const classes = [
require('./src/providers/BitcoinBlockExplorer'),
require('./src/providers/CryptoID'),
require('./src/providers/EthereumEtherscan'),
require('./src/providers/IotaNative'),
require('./src/providers/IotaNative')
]

classes.forEach(Provider => {
Expand Down
Loading

0 comments on commit 4dbe961

Please sign in to comment.