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

[Q] Does the plugin support truffle output format? #25

Open
namero999 opened this issue Apr 25, 2019 · 2 comments
Open

[Q] Does the plugin support truffle output format? #25

namero999 opened this issue Apr 25, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@namero999
Copy link

I need to interact with a repository with a complex layout and I would like not to import the whole thing into my main java project, but instead simply rely on the truffle json output file format.

Web3j supports the generation of java wrapper from such file via the command

$ web3j truffle generate /path/to/<truffle-smart-contract-output>.json -o /path/to/src/main/java -p com.your.organisation.name

Does the task GenerateContractWrappers support such scenario? Is it possible to configure it as such?

Thanks!

@xaviarias xaviarias added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels May 11, 2019
@xaviarias
Copy link
Contributor

xaviarias commented May 11, 2019

Unfortunately at the moment the generation task does not support generation from Truffle, but a PR would be very welcome.

@Noisyfox
Copy link

Noisyfox commented Feb 10, 2020

Here is the code if you want to generate wrapper from truffle output in gradle:
https://gist.github.com/Noisyfox/24f7c335a351a6d40171d698f43aec41

@xaviarias xaviarias self-assigned this Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants