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

Issue generating Java class from truffle json #58

Open
herbig opened this issue Feb 13, 2021 · 1 comment
Open

Issue generating Java class from truffle json #58

herbig opened this issue Feb 13, 2021 · 1 comment
Assignees

Comments

@herbig
Copy link

herbig commented Feb 13, 2021

Hey folks, I'm hoping someone can help me with this. Basically trying to generate a Java contract class from the compiled JSON from Remix:

web3j generate truffle generate -t CoinFlip.json -o . -p com.mypackage
              _      _____ _ 
             | |    |____ (_)
__      _____| |__      / /_ 
\ \ /\ / / _ \ '_ \     \ \ |
 \ V  V /  __/ |_) |.___/ / |
  \_/\_/ \___|_.__/ \____/| |
                         _/ |
                        |__/ 
by Web3Labs
Generating com.mypackage.CoinFlip ... null

No output, and it just appends null to the console message for some reason.

I tried poking around in SolidityFunctionWrapperGenerator and SolidityFunctionWrapper but nothing stood out to me as being amiss. Any pointers on how to get that to work would be great!

@AlexandrouR AlexandrouR self-assigned this Feb 17, 2021
@AlexandrouR
Copy link
Contributor

Hi, ill test this and get back to you

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

2 participants