Become a Solana Transmitter
This guide will walk you through how to become a Solana transmitter. From wallet details to transmitter setup, we'll cover it all here.
Dependencies
Before beginning make sure to install all of the necessary dependencies and tools. In this guide we'll be using several, including:
libusd, an open source library that allows communication with USB devices fom user space.
foundry, a modular toolkit for Ethereum application development.
docker, a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers.
brew install python
brew install pipx
pipx install base58
brew install libusb
curl -L https://foundry.paradigm.xyz | bash
foundryupFor the Zsh shell, use source "~/.zshenv" instead of source "~/.bashrc".
If pipx install base58 doesn’t work, try using: python3 -m pip install base58
sudo apt update
sudo apt install pipx
pipx install base58
sudo apt install curl build-essential libssl-dev pkg-config
sudo apt install libusb-1.0-0-dev
curl -L https://foundry.paradigm.xyz | bash
~./bashrc
foundryupTo verify the successful installation of dependencies, you can run the following command.
cast --versionIf everything was successfully installed, the output should be the version of the cast command, as shown below.
cast 0.2.0 (31c24b0 2024-11-14T00:20:56.080456000Z)Wallet Setup
Your Solana wallet should only hold SOL tokens. The security of other tokens is not guaranteed.
To become an transmitter on Solana you need two wallets. An EVM standard wallet and a Solana standard wallet. To proceed you need to convert your wallets into a format suitable for transmitter registration, below we describe the process.
For your Solana wallet (<solana_wallet>) in Base58 format, run the following command.
Example for a Solana Wallet:
Hj12XrWQmcfRZk4nEejLRvF3tE5QXk5EpxmMm3zZzQbC (Base58)
Hexadecimal Representation (Output):
0xf87d6a27b105812cdaf3ade4ba67fe501092df51a716671db13f05387dc04603
For your EVM wallet (<evm_address>), run the following command.
Example for a EVM Wallet:
0xff22Fb238CfA1013A793FC917F242F9f82a61417
Hexadecimal Representation (Output):
0x000000000000000000000000ff22fb238cfa1013a793fc917f242f9f82a61417
1. Registration
Make sure that you have the native network token on Entangle and that you have added the Entangle network address to your wallet.
Chain Id: 33033
Now run the following command to register your transmitter in the desired network.
If you encounter the error tx already in mempool, try adding the following optional parameter:
To get the actual gas price in the network, run:
2. Security Deposit
To ensure your transmitter works as expected you are required to stake a security deposit. A minimum of 100 NTGL is required.
Run the cast command again but this time with the follow parameters.
3. Docker Environment Setup
To simplify this process, we've created a docker image. In this part we will describe how to install and setup docker.
Update the system.
Install dependencies.
Add the official Docker GPG key.
Add the Docker repository.
Install Docker and Docker Compose.
Verify the installation.
Add the current user to the Docker group (to run commands without using sudo).
Then log out and log back in, or run.
Install Docker via Homebrew
Launch Docker Desktop
Simply find it in your applications and open it.
Verify the installation
4. Starting the Transmitter
Update the docker image.
Create a directory for the transmitter and move to it.
Start the transmitter.
If you want this transmitter to be a super transmitter you need to specify "-e IS_SUPER_AGENT=true".
After the successful execution of the program, you will see the message:
Choosing a Transmitter Name
You can also set a unique name for your transmitter to more easily distinguish it. Run the below command to do so.
Change Round
You can either wait for another participant to make changes to the round or update the round yourself. Run the following command to change the round.
Change Node
You can change blockchain providers (RPC nodes) by modifying the configs/solana/transmitter-config.yml file. You can add multiple nodes to ensure high availability
Additional Configuration Parameters
Below are additional configuration parameters you can use for the blockchain provider source configuration file.
parse_new_headers_interval
How often to update blockchain information (e.g., 5s, 1m).
max_query_in_batch
The number of requests in a single batch request.
filter_logs_max_blocks
The maximum difference between fromBlock and toBlock.
blocks_delay
The maximum difference between block shifts.
blocks_batch_to_filter
The minimum number of blocks to process.
min_balance_to_alert
The minimum wallet balance for notifications (in wei).
Withdraw Security Deposit & Stopping Transmitter
To withdraw your security deposit and stop being a transmitter, run the following command.
Troubleshooting
Last updated
Was this helpful?

