Fullnode must use the provided .env to connect to and sync from alpen testnet chain.
3. Configure parameters
Create a params.json file in the configs directory with the following contents.
Full node must use the provided params.json to be in consensus with the strata testnet chain.
4. Generate keys
Generate jwt.hex inside configs directory file with jwt keys. This is used for authentication between alpen-reth and alpen-client for engine-api auth-rpc.
Running the services
Once you have configured the environment and generated the necessary keys, you can start the services using Docker Compose.
Make sure you have correctly installed docker and docker is up and running.
Initial sync can take several hours based on network latency and machine load. The sync status can be checked using an rpc call to strata_syncStatus method:
Pairing with a local wallet
If your wallet supports connecting to custom EVM networks, then you can connect your wallet to your Alpen full node to view your account balance and send transactions.
Click the button in your wallet that enables you to add a custom network
Enter the following values:
Network name: Alpen Testnet
Default RPC URL: http://localhost:8545
Chain ID: 8150
Currency symbol: sBTC
Block explorer URL: https://explorer.testnet.alpenlabs.io
Troubleshooting
Service fails to start:
Ensure all environment variables in .env are correctly set.
Verify that params.json is correctly placed in the configs directory.
Check Docker logs for more details:
Ports already in use:
If any of the specified ports are already in use, either stop the conflicting service or modify the port mappings in the docker-compose.yml file.
Client cannot connect to bitcoin node and exits:
Make sure the environment variables in .env are correctly set as in step 2.
Bitcoin node probably started later than the client. Make sure bitcoin node has started and then restart client.
Initial Sync does not make progress or fails
Check that the urls provided in .env are accessible from the machine.
If FATAL ERROR: block not found: is seen in the client logs after restart, delete data/reth and data/strata directories and restart.
If nothing else seems to work
Stop all the containers: docker compose -f docker-compose-fullnode.yml down
Delete the data directory and restart the containers: docker compose -f docker compose-fullnode.yml up