(WIP) Feature/lit 3479 relayerthirdweb proxy requests to thirdweb engine #47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Setup scripts & testing
create 500 walletsI only need to run it once to setup 500 wallets.maintainBalancescan be called when balances in all wallets drop to certain level.lib/thirdweb/ThirdWebLib.ts, under the hood, it's called ThirdWeb apis, but we are only abstracting the ones we need.API Endpoint for mintAndAddNewAuthMethod
New API endpoint is created for mintAndAddNewAuthMethod, prefix with
/api/v2, themintPkpV2function has a helper to determine the version from the request url, then based onversionStrategy, it would either use the relayer or ThirdWeb to process transactions.Environment Variables for this PR
For other environment variables, refer to the README