Newton allows you to configure an agent, such as a Recurring Buy Agent, to automatically purchase a specific asset over a chosen period. These agents can be customized with an expiration date and can be disabled at any time. Let's familiarize ourselves with the process by setting up your first Recurring Buy Agent right now!
Newton App
First, login to https://newton.xyz/app. When you're logged in you will find an empty dashboard and an Explore Agents section. Under Explore Agents, click on the Start Agent button to begin configuring a new agent instance.
Initial Funds
If you do not have funds in your wallet for the agent to use you will want to add this now. Newton offers the following options to fund your account:
Transfer assets from another wallet like MetaMask
Use the fiat on-ramp to purchase tokens
You may find your wallet's address by clicking the wallet icon in the top-right of the screen which will open the the interface. You can then click the public address at the very top to copy the address or click Receive to display a QR code representing your address.
For this demo we will pay with USDC on Base, so be sure to only send Base USDC to your wallet.
Open the wallet interface by clicking the wallet icon
Options to copy your address or open the QR code view
Scan the QR code using your smartphone
You also have the option to purchase cryptocurrencies using the fiat on-ramp option. Read more about the fiat on-ramp in this article: Adding Assets | Fiat On-Ramp.
Configuring the Agent
Now that the account is funded you can configure the agent to buy cbBTC on the set Frequency and pay with USDC until the End Date. If you do not set an End Date the agent will deactivate when the funds run out.
In the figure below you will see a setting for purchasing $1 USDC of cbBTC every hour until midnight on April 24, 2025, or until the funds run out. Enter your own configuration and click the Continue button to proceed to the confirmation view.
After clicking Continue you should see a confirmation screen where you can review and Edit your configuration before deploying the agent.
If you have not yet swapped tokens or created an agent you will see an additional step taken to deploy your smart account onchain.
Next, your agent's permissions will be saved onchain.
This view will continue sharing updates through the breadcrumb messages beneath the Edit button.
You will be directed to a chat where you can see the the initial transaction was completed by your agent!
Congratulations, you have setup your first Agent! π₯³
You can now view the agent in the dashboard where it will appear in the active category.
Any completed transaction will also show up on this page.
You can also deactivate an agent here by clicking the menu button for that agent and clicking Deactivate Agent.
Deactivating the agent will open a chat where you can confirm deactivation of the Recurring Buy Agent.
When your agent is deactivated you will see a confirmation for this as well.
Finally
You have created an agent to handle recurring buys of cbBTC using USDC, effectively stacking sats on autopilot!