Uses of Class
com.privatechain.wallet.Wallet
Packages that use Wallet
Package
Description
Spring Boot REST demo — exposes a running
BlockchainNode as an HTTP API using
Spring Boot 4.x autoconfiguration (T-075, AC-10).Wallet and key management — secp256k1 key pairs, transaction signing, balance
computation, and encrypted keystore serialisation (FR-WALLET-01–04).
-
Uses of Wallet in com.privatechain.examples.spring
Methods in com.privatechain.examples.spring that return WalletModifier and TypeMethodDescriptionSpringChainApp.demoWallet()Provides a freshly generated demo wallet for signing REST-submitted transactions.Constructors in com.privatechain.examples.spring with parameters of type WalletModifierConstructorDescriptionBlockchainRestController(BlockchainNode node, Wallet demoWallet) Constructs the controller via Spring constructor injection. -
Uses of Wallet in com.privatechain.wallet
Methods in com.privatechain.wallet that return WalletModifier and TypeMethodDescriptionWalletManager.createWallet()Creates a new wallet with a randomly generated key pair.WalletManager.importFromKeystore(String keystoreJson, String password) Imports a wallet from an encrypted keystore JSON string.WalletManager.importWallet(String privateKeyHex) Imports a wallet from a hex-encoded private key.Methods in com.privatechain.wallet that return types with arguments of type WalletModifier and TypeMethodDescriptionWalletManager.getAllWallets()Returns all wallets managed by this manager.Retrieves a wallet by its address.Methods in com.privatechain.wallet with parameters of type WalletModifier and TypeMethodDescriptionWalletManager.exportKeystore(Wallet wallet, String password) Exports a wallet to an encrypted keystore JSON string.