3

只有合约abi能生成java文件吗

 2 years ago
source link: https://learnblockchain.cn/question/3011
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

只有合约abi能生成java文件吗 | 登链社区 | 技术问答

只有合约abi能生成java文件吗

在java里面通过web3j类库加载合约的bin和abi是可以生成java版本的智能合约供调用。想问一下如果只有abi文件,没有bin怎么生成呢?

小康 1天前

可以生成,通过 abigen 生成代码,然后你直接调用即可

Tiny熊 - 布道者 1天前

  擅长:智能合约,以太坊

我没有使用过,不过感觉是 只需要 ABI 就可以的。

因为在合约调用的时候,只需要 ABI 和合约地址。

您需要登录后才可以回答问题,登录 或者 注册

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK