dotbit-sdk-allin
Version:
A complete .bit SDK and utilities in TypeScript
22 lines (17 loc) • 349 B
text/typescript
class Web3Signer {
constructor (public provider) {
this.provider = provider
}
getSigner () {
return this.provider.getSigner()
}
getProvider () {
return this.provider
}
getBalance (address) {
return this.provider.getBalance(address)
}
signData () {
return this.provider.signData()
}
}