Wallets serve as a centralized interface for all account-related behaviors. They allow you to:
Every wallet requires a provider to communicate with the network.
There are two primary types of wallets available in the SDK:
ViewOnlyAccount
trait. ViewOnlyAccount
and Account
traits. The SDK offers multiple signing methods to suit different scenarios:
Private Key Signer:
Use when you have direct access to your account’s private key.
AWS KMS Signer: Delegate signing operations to AWS Key Management Service, enhancing key security by offloading cryptographic operations.
Google KMS Signer:
Similar to AWS KMS, this option delegates signing to Google’s Key Management Service.
Fake Signer:
Generates dummy signatures, which is useful for impersonation while testing. Only possible when using a network that does not enforce signature validation.