Closed aaroncox closed 1 year ago
The balance provider now:
https://github.com/greymass/unicove/blob/dev/src/stores/balances-provider.ts
The balance provider already starts abstracting it a bit here:
https://github.com/greymass/unicove/blob/dev/src/stores/balances-provider.ts#L61-L69
The bloks.io API code is just generic and placed in the same file. It should named better and potentially in its own file as a standardized interface. The light api code should then be created in a similar way with the same interface.
The balance provider now:
https://github.com/greymass/unicove/blob/dev/src/stores/balances-provider.ts
The balance provider already starts abstracting it a bit here:
https://github.com/greymass/unicove/blob/dev/src/stores/balances-provider.ts#L61-L69
The bloks.io API code is just generic and placed in the same file. It should named better and potentially in its own file as a standardized interface. The light api code should then be created in a similar way with the same interface.