To enable an agent to interact with the blockchain—such as autonomously executing trades—you must create a wallet and grant the agent control access. This allows the agent to sign transactions, for example, swapping assets based on its financial decisions.
To help developers test the framework, Galadriel provides a faucet service that can fund your wallet with test tokens.To request a small amount of SOL from the faucet service, execute the following command:
Copy
galadriel wallet airdrop
The airdrop service has the following rate limits:
Once the wallet is set up, it is automatically accessible by Web3 tools. To use it, simply include Web3 tools in your agent’s toolset.Below is an example of how to enable the agent with the Jupiter tool for token swapping. The agent can call the swap_token function using the previously set up wallet to execute swaps when needed.