Skip to content

Conversation

@Thibault2ss
Copy link
Contributor

No description provided.

- [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)
Copy link
Contributor

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'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- `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
Copy link
Contributor

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()
Copy link
Contributor

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": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To remove

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants