oscoin / oscoin-parity-wasm-prototype

Prototype implemenation of Oscoin ledger on Parity Ethereum Wasm
0 stars 0 forks source link

Explicitly pass sender to client methods #29

Closed geigerzaehler closed 5 years ago

geigerzaehler commented 5 years ago

Instead of providing the transaction sender when Client is constructed we pass it when a method is called that requires a sender. (These are the methods that submit transactions and update the ledger.)

This allows consumers to use the client even if they don’t have an account yet, for example if they want to create an account.