Package-level declarations

Signer interface and its implementations. Recommended way of using Signer is through an Account.

// Create a signer
Signer signer = ...

// Sign a transaction
List<Felt> signature = signer.signTransaction(tx);

// Get a public key
Felt publicKey = signer.getPublicKey();

Types

Link copied to clipboard
interface Signer

Transaction signer.

Link copied to clipboard
class StarkCurveSigner(privateKey: Felt) : Signer

Signer implementing a stark curve signature (default signature used on Starknet).