@startuml
Actor User as R
group Instantiate wallet
R ->> R: Wallet::new
end
group Get bitcoin address
R ->> R: Wallet::get_address
end
group Fund wallet
R ->> R: Send on-chain BTC to generated address
end
group Enable online operations
R ->> R: Wallet::go_online
note right of R: returns online object required for online calls
end
group Prepare UTXOs to allocate RGB assets
R ->> R: Wallet::create_utxos
end
group Issue assets
R ->> R: Wallet::issue_asset_nia
note right of R: or receive assets sent from another wallet
end
@enduml