SDK for the Go programming language does not support direct transfer with private key, is this the only solution? / go的SDK不能直接用私钥转账,只能用这个吗 keydir := "./keystore"

go的SDK不能直接用私钥转账,只能用这个吗?

keydir := "./keystore"

SDK for the Go programming language does not support direct transfer with private key, is this the only solution:

keydir := "./keystore"

Yea, but you can import private keys to account with the latest Go SDK.

是的,go sdk最新版本可以import私钥到account

Is the latest version released? Could you please give an example of it? I checked the code but didn’t find it.

能用私钥的最新版本什么时候能发布?还是已经发布了?example里能给个使用的例子吗?对比了一下代码,好像没有看到

已经发布了,应该是1个月前发布的版本加的

It was released a month ago.

这个是导出:

This is how to export:

这个是导入:

And this is how to import: