failed to generate solidity
hi, uniswap contract generate java wrappers error,the abi code is here:https://etherscan.io/address/0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f#code
error,not a valid name:
➜ ~/Downloads/web3j-1.4.1/bin ./web3j generate solidity -a uni.abi -o ./ -p com.test
_ _____ _
| | |____ (_)
__ _____| |__ / /_
\ \ /\ / / _ \ '_ \ \ \ |
\ V V / __/ |_) |.___/ / |
\_/\_/ \___|_.__/ \____/| |
_/ |
|__/
by Web3Labs
Generating com.test.Uni ... not a valid name:
same problem here on windows:
PS C:\Users\jacob\Development\uniswap-v2-core\contracts\output> web3j generate solidity -b UniswapV2Factory.bin -a UniswapV2Factory.abi -o .\output\java -p jacob.blockchain.arbitrageBot.contracts _ _____ _ | | |____ () __ _| | / / \ \ /\ / / _ \ ' \ \ \ | \ V V / __/ |) |./ / | _/_/ _|./ _/| | _/ | |_/ by Web3Labs Generating jacob.blockchain.arbitrageBot.contracts.UniswapV2Factory ... not a valid name:
https://bscscan.com/address/0xca143ce32fe78f1f7019d7d551a6402fc5350c73#code I have the same problem
check my answer here