Skip to content
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

Add chainId to bot's config #283

Closed
rndquu opened this issue May 3, 2023 · 3 comments · Fixed by #308
Closed

Add chainId to bot's config #283

rndquu opened this issue May 3, 2023 · 3 comments · Fixed by #308

Comments

@rndquu
Copy link
Member

rndquu commented May 3, 2023

We are in the process of moving to support L2/sidechains for bounty hunter payouts because of high gas fees on ethereum mainnet.

We should be done:

  1. Read chainId parameter here from the bot's yml config
  2. If chainId is not set then by default use 1 for ethereum mainnet

Notice that while it seems natural also to read a payment token address from the bot's config we shouldn't do it because gelato network (used for relaying safe transactions for large rewards) supports only few tokens so chances are that partner would set an unsupported token. So right now it is safer to hardcode payment token addresses for each supported network.

@rndquu
Copy link
Member Author

rndquu commented May 16, 2023

/start

@ubiquibot
Copy link

ubiquibot bot commented May 16, 2023

@rndquu The time limit for this bounty is on Tue, 16 May 2023 15:16:11 GMT

Your currently set address is:
0x336c033842fa316d470e820c81b742e62a0765dc
please use /wallet 0x4FDE...BA18 if you want to update it.

@ubiquibot
Copy link

ubiquibot bot commented May 17, 2023

[ CLAIM 50 DAI ]

0x336c033...a0765dc

@ubiquibot ubiquibot bot added the Paid label May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants