We recommend setting SEQUENCE_PROJECT_ACCESS_KEY as well but for testing purposes we provide a default one, you can get yours from Sequence Builder.
Backend wallet
Sidekick creates a Sequence Smart Contract Wallet based on theBACKEND_WALLET_PV_KEY or AWS / GCP KMS signer you provide, this allows gas-sponsorship, batching and other optimizations.
To configure the backend wallet, you can:
- Declare your BACKEND_WALLET_PV_KEY in the .env file for a local setup (not recommended for production) or don’t provide it and get a random one generated for you, you can find it in the auto generated
dev.keyfile. - Use the recommended method: setting up AWS or GCP KMS and adding the necessary credentials in the .env file.
To find out what are the required credentials for local, AWS, or GCP wallet configurations, please refer to the env.example file.
Make sure you choose the correct key types in AWS KMS and GCP KMS.
- AWS KMS:
ECC_NIST_P256_KEY_ALIAS - GCP KMS:
GCP_KEY_RING_NAME
When using the Sequence Sidekick:
msg.senderwill be the Sequence Wallet address of your EOA, not your EOA addresstx.originwill be one of the Sequence Relayer addresses- Ensure proper permissions are granted for contract function calls to the Sequence Wallet address
- View active relayer addresses in the mainnet status page
Start Sidekick in dev mode
1
Clone the Sidekick repository
2
3
Make sure you have Docker installed
Get it from here
4
Start Sidekick in a Docker container
5
Check your backend wallet address