6eer / uniswap-sushiswap-arbitrage-bot

Two bots written in JS that uses flashswaps and normal swaps to arbitrage Uniswap. Includes an automated demostration.
MIT License
586 stars 264 forks source link

is invalid, the capitalization checksum test failed, or it's an indirect IBAN address which can't be converted. #15

Open Dax-87 opened 3 years ago

Dax-87 commented 3 years ago

When I run the node ./src/bot_flashswap.js command this error comes out does anyone know how i can fix it?

uniswap-sushiswap-arbitrage-bot/node_modules/web3-core-helpers/lib/formatters.js:403 throw new Error(Provided address ${address} is invalid, the capitalization checksum test failed, or it's an indirect IBAN address which can't be converted.); ^

Error: Provided address 'andress token' is invalid, the capitalization checksum test failed, or it's an indirect IBAN address which can't be converted. at Object.inputAddressFormatter (/Users/daniel/uniswap-sushiswap-arbitrage-bot/node_modules/web3-core-helpers/lib/formatters.js:403:11) at Object.set [as address] (/Users/daniel/uniswap-sushiswap-arbitrage-bot/node_modules/web3-eth-contract/lib/index.js:77:69) at Contract (/Users/daniel/uniswap-sushiswap-arbitrage-bot/node_modules/web3-eth-contract/lib/index.js:251:26) at new Contract (/Users/daniel/uniswap-sushiswap-arbitrage-bot/node_modules/web3-eth/lib/index.js:257:22) at Object. (/Users/daniel/uniswap-sushiswap-arbitrage-bot/src/bot_flashswap.js:48:18) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12) at node:internal/main/run_main_module:17:47