Constructors
constructor
- new WalletSigner(__namedParameters: { privateKey: Buffer }): WalletSigner
Parameters
__namedParameters: { privateKey: Buffer }
Properties
privateKey
privateKey: Buffer
Methods
fetchAccount
- fetchAccount(__namedParameters: { rpcClient: RPCClient; version: TransactionVersion }): Promise<Account>
Parameters
Returns Promise<Account>
getNetwork
getSTXAddress
Parameters
Returns string
getSTXPrivateKey
- getSTXPrivateKey(): Buffer
Returns Buffer
signContractCall
Parameters
__namedParameters: ContractCallOptions
signContractDeploy
- signContractDeploy(__namedParameters: ContractDeployOptions): Promise<StacksTransaction>
Parameters
__namedParameters: ContractDeployOptions
signSTXTransfer
Parameters
__namedParameters: STXTransferOptions