MCPcopy Create free account
hub / github.com/QuipNetwork/cpp-sdk / createWallet

Method createWallet

include/cli.hpp:53–58  ·  view source on GitHub ↗

Create a wallet instance

Source from the content-addressed store, hash-verified

51
52 // Create a wallet instance
53 std::unique_ptr<QuipWallet> createWallet(const std::string &address) {
54 if (wallet_factory_) {
55 return wallet_factory_(rpc_url_, address);
56 }
57 return std::make_unique<QuipWallet>(rpc_url_, address);
58 }
59
60 std::string rpc_url_;
61 std::string contract_address_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected