Closed kastolars closed 5 years ago
Fracture the client package into internal/wallet. This new package should contain:
internal/wallet
SetupWallet
GetPrivateKey
GetBalance
GetStateNonce
GetWalletAddress
RequestWalletInfo
UpdateWallet
Any functions/tests that don't make the cut should be removed along with the original client package.
client
The package should reside in internal/
internal/
wallet_test.go
Completed
Fracture the client package into
internal/wallet
. This new package should contain:SetupWallet
GetPrivateKey
GetBalance
GetStateNonce
GetWalletAddress
RequestWalletInfo
UpdateWallet
Any functions/tests that don't make the cut should be removed along with the original
client
package.The package should reside in
internal/
internal/wallet
createdwallet_test.go
client
root directory and all subdirectories deleted