feat(wallet): Refactor wallet service for enhanced modularity and clarity

- Abstracted RPC interface to allow dynamic input for connection flexibility.
- Added `signSession` function to retrieve `authSig` efficiently.
- Improved logging and error handling to provide clearer feedback.
- Centralized `authSig` retrieval for better code maintainability.

This refactor ensures the wallet service is more adaptable to varying use cases and improves overall code readability.
This commit is contained in:
Samuel Andert
2023-07-24 12:54:59 +02:00
parent cf1a83006e
commit 5b7c49fd58
4 changed files with 129 additions and 18 deletions

View File

@ -7,14 +7,20 @@
"login",
"main"
"footer";
grid-template-rows: 150px 1fr auto;
grid-template-rows: 1fr 1fr auto;
`,
children: [
{
id: 1,
componentName: 'Login',
props: {},
slot: 'login'
slot: 'login',
children: [
{
id: 5,
componentName: 'Wallet'
}
]
},
{
id: 2,