1#include <helpers/Account.h>
3#include <xrpl/protocol/KeyType.h>
4#include <xrpl/protocol/PublicKey.h>
5#include <xrpl/protocol/SecretKey.h>
6#include <xrpl/protocol/Seed.h>
Account(std::string_view name, KeyType type=KeyType::Secp256k1)
Create an account from a name.
std::pair< PublicKey, SecretKey > keyPair_
static Account const kMaster
The master account that holds all XRP in genesis.
std::string const & name() const noexcept
Return the human-readable name.
Immutable cryptographic account descriptor.
Seed generateSeed(std::string const &passPhrase)
Generate a seed deterministically.
std::pair< PublicKey, SecretKey > generateKeyPair(KeyType type, Seed const &seed)
Generate a key pair deterministically.
AccountID calcAccountID(PublicKey const &pk)