Transfer widget will require connection logic with the providers that it receives, so then it can be connected to the current wallet to check balances and account data
Implementation details
Create wallet manager package
Package should provide means to connect to Evm or Substrate wallets.
For EVM, connection to Metamask would suffice for the MVP. For Substrate, polkadot.js
Provide logic to handle connection and get basic information about the connected account: address and balance
For susbtrate connection, use app-injector to communicate with polkadot.js extension
For susbtrate, wallet class must be able to accept ApiPromise instance to work
Testing details
provide unit tests for this package
Acceptance Criteria
create unit test for the package. Add those to the pipeline
pipeline for building and linting should also pass
Transfer widget will require connection logic with the providers that it receives, so then it can be connected to the current wallet to check balances and account data
Implementation details
polkadot.js
app-injector
to communicate with polkadot.js extensionApiPromise
instance to workTesting details
Acceptance Criteria