Changed the data service to initialise as a seperate entity independent of the primeSdk object
Removed unnecessary state variables and changed the walletAddress variable name to EOAAddress for better understanding
Optimised the fetching of accountAddress since before it was fetching from on chain for every request to getCounterFactualAddress from the rpc, now it stores the account address locally in the initialised PrimeSDK object
Fixed network state variable to output the network which it is connected to
Types of changes
What types of changes does your code introduce?
[x] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update
[x] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
Description
Types of changes
What types of changes does your code introduce?
Further comments (optional)
-