Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Rust-for-Blockchain-Application-Development
/ Wallet
Class
Wallet
chapter 5/wallets.rs:9–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
8
#[derive(Clone, Serialize, Deserialize)]
9
pub struct Wallet {
10
pkcs8: Vec<u8>,
11
public_key: Vec<u8>,
12
}
13
14
impl Wallet {
15
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected