wharfkit / session

Create account-based sessions, perform transactions, and allow users to login using Antelope-based blockchains.
Other
10 stars 1 forks source link

A `WalletPlugin` should be able to register `TransactPlugin` and `LoginPlugin` hooks #38

Open aaroncox opened 1 year ago

aaroncox commented 1 year ago

The use case I've found is the cleos wallet plugin. This plugin needs to be able to:

  1. Disable broadcasting, since it'll never sign the transaction.
  2. After a transaction is complete, it needs to register an afterSign hook in order to display the cleos command to execute the transaction.