-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PSDK-132] Address.createTransfer / Wallet.createTransfer Implementation #17
[PSDK-132] Address.createTransfer / Wallet.createTransfer Implementation #17
Conversation
d7028ec
to
4d2e786
Compare
4d2e786
to
dda70e2
Compare
dda70e2
to
a8ee555
Compare
transfer: TransferAPIClient; | ||
baseSepoliaProvider: ethers.Provider; | ||
}; | ||
import { WEI_PER_ETHER } from "./constants"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: we need to export these constants to the index file. I will create a PR for this.
src/coinbase/wallet.ts
Outdated
const key = new ethers.Wallet(convertStringToHex(hdKey.privateKey!)); | ||
const response = await Coinbase.apiClients.address!.getAddress(this.model.id!, key.address); | ||
this.cacheAddress(response.data, key); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part has been updated. Could you please pull the latest changes from master?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated and rebased on master
a8ee555
to
9023d76
Compare
9023d76
to
4038751
Compare
What changed? Why?
Address.createTransfer
Wallet.createTransfer
Follow-ups:
Qualified Impact