current position:Home>How do languages other than JS interact with smart contracts?

How do languages other than JS interact with smart contracts?

2022-02-03 23:13:49 Q & A of Denglian community

If it is golang, To call the custom method in the contract , How to get , Find this way

abigen --abi token.abi --pkg main --type Token --out token.go --sol aaa.sol

There is nothing in this that can be specified solc compile Features of the version , The default is 0.7.0 Of , My contract is 0.4.x Of , Cause the compiler to fail , Someone knows you can change solc Version of the method or other interactive methods ?






Other answers 1:


Other answers 2:

copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202032313471452.html

Random recommended