Closed matthewyu-okx closed 3 months ago
cannot remove this function because it's a base smart account function required in the interface. this interface, however, is derived from alchemy team and I just want to keep pace with them. Instead, I added a new function called getOKXSmartAccountAddress() to realize our own requirement, because in our case, the account address is a necessity, whether it's created or imported. This function does not need a async/await.
Current Behavior
It requires one more async call to get the address of the account instance.
Suggested Behavior
Execute the
getAddress()
function in thecreate()
function so that the future use of the OKXSmartContractAccount instance won't need another async call for getting the address value.