Address and Signature

Welups SDK supports offline private key generation and signature.

Address Generation

The generateAddress function can be directly called without binding a private key.

WelClient.generateAddress();

This returns a private key that can be directly used on WELUPS network.

Example:

WelClient client = new WelClient("172.104.51.182:16669","172.104.51.182:16669","privatete Key");
System.out.println(client.generateAddress());

Signature

Welups SDK has encapsulated signature function, refer to signTransaction in RPC_APIs.

Binding a private key with a WelClient instance or providing a SECP256K1.KeyPair to accomplish the signing process.

Last updated