-
Notifications
You must be signed in to change notification settings - Fork 15
chore: ethersv6 basic transfer examples #101
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
base: m
Are you sure you want to change the base?
Conversation
| - [polygon-deposit-erc20](./libs/ethersjs/v5/polygon-deposit-erc20) | ||
| - [optimism-deposit-eth](./libs/ethersjs/v5/optimism-deposit-eth) | ||
| - Ethersjs v6 integration (`@dfns/lib-ethersjs6`) | ||
| - [basic-transfers](./libs/ethersjs/v6/basic-transfers) |
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.
Let's be consistent with other example
basic-transfers --> basic-tx
And maybe create a separtate project for erc20-tx?
| lVoZStj5fsYOQlKmQJl6JHTOARAHmk8OL4LyFDI9dp8V15UqXgo= | ||
| -----END RSA PRIVATE KEY-----' | ||
|
|
||
| ETHEREUM_NODE_URL='https://ethereum-goerli.publicnode.com' |
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.
https://ethereum-sepolia-rpc.publicnode.com
Goerli is dead :D
| - `DFNS_CRED_ID` = the `Signing Key Cred ID` from above | ||
| - `DFNS_PRIVATE_KEY` = the private key from the step 'generate a keypair', the newlines should not be a problem | ||
| - `DFNS_AUTH_TOKEN` = the `authToken` from above, the value should start with `eyJ0...` | ||
| - `ETHEREUM_NODE_URL` = an Ethereum Goerli RPC provider node you have access to |
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.
sepolia
| dotenv.config() | ||
|
|
||
| const main = async () => { | ||
| // await nativeTransfer() |
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.
I would prefer to be consistent with other project and maybe have 2 different example? (even if they are both simple and look alike?
Not really important, that's just a preference
| { | ||
| "extends": "../../../../../tsconfig.base.json", | ||
| "include": ["src/**/*.ts"] | ||
| // "compilerOptions": { |
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.
To remove
No description provided.