Address and Signature
Aixchain SDK supports offline private key generation and signature.
Address Generation
The generateAddress
function can be directly called without binding a private key.
AixcClient.generateAddress();
This returns a private key that can be directly used on Aixchain network.
Example:
AixcClient client = new WelClient("172.104.51.182:16669","172.104.51.182:16669","privatete Key");
System.out.println(client.generateAddress());
Signature
Aixchain SDK has encapsulated signature function, refer to signTransaction
in RPC_APIs.
Binding a private key with a AixcClient instance or providing a SECP256K1.KeyPair
to accomplish the signing process.
Last updated