Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to generate solidity #66

Open
iaskwho opened this issue May 25, 2021 · 3 comments
Open

failed to generate solidity #66

iaskwho opened this issue May 25, 2021 · 3 comments

Comments

@iaskwho
Copy link

iaskwho commented May 25, 2021

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: 
@jacoblogananderson
Copy link

jacoblogananderson commented May 28, 2021

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:

@fastener
Copy link

@joelcho
Copy link

joelcho commented Jan 4, 2022

check my answer here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants