Get accounts wrapper for Angular
/** Return the list of accounts available */ | |
public getAccounts(): Observable<string[]> { | |
return fromPromise(this.web3.eth.getAccounts()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment