-
Notifications
You must be signed in to change notification settings - Fork 72
Provider Authorization
Marcelo Politzer Couto edited this page Aug 20, 2025
·
2 revisions
- Login to Alchemy.
- Navigate to Apps.
- Copy the key.
- Contents of
CARTESI_BLOCKCHAIN_HTTP_AUTHORIZATIONwill have the form:Authorization:Bearer PROJECT_KEY_CONTENTS
ref. https://www.alchemy.com/docs/how-to-use-api-keys-in-http-headers
- Login to Google cloud.
- Access the project credentials page.
- Copy the key.
- Contents of
CARTESI_BLOCKCHAIN_HTTP_AUTHORIZATIONwill have the form:X-goog-api-key:PROJECT_KEY_CONTENTS
- Login to Metamask / Infura
- Select the API key, then configure
- Copy the key.
- encode as base64. eg.
RESULT=$(echo -n ':PROJECT_KEY_CONTENTS' | base64). - Contents of
CARTESI_BLOCKCHAIN_HTTP_AUTHORIZATIONwill have the form:Authorization:Basic RESULT_CONTENTS