Address
用于压缩公钥的工具。
从 Web3j 和 kaia 库(web3j-ext
)导入必要的类
要将 "压缩公钥 "转换为 {x, y}
格式的 "AccountPublicKey",请使用 AccountKeyPublicUtils.decompressKey
。
要将 AccountKeyPublic
压缩为 Compressed Public Key
字符串,请使用 AccountKeyPublicUtils.toCompressedPublicKey
。