TransWikia.com

web3j command-line does not recognize flags

Ethereum Asked on March 10, 2021

I am trying to run the command such as

web3j solidity generate -b SimpleBank/SimpleBank.bin -a SimpleBank/SimpleBank.abi -o ~/IdeaProjects/quiknode/src/main/java/ -p com.simplebank

Found here: https://blog.quiknode.io/web3j-ethereum-for-java-developers/

However, the web3j says :

Unknown opitions: -b, ...

Version is 1.4.1

Also, their docs of wrappers forward to a 404 page.
At this point, coding a wrapper by hand looks like the best option.

Edit: for the purpose of a code generating, I took the Java source-code for web3j/codegen and ran it against my own .abi and .bin files. However, since this post is about the command line interface, this is not the answer.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP