SALT SDK Deep Dive: Build Your First Automation Bot Using the Autofi Repo

Published at : 23 Dec 2025

Learn how to build automated bots and agents on top of the SALT MPC platform. In this step-by-step walkthrough, Joseph from the SALT team explores the SALT Autofi repository, shows how to configure your environment, explains orchestration vs broadcasting networks, and builds a working example bot that automatically sweeps deposits and stakes them using the SALT SDK.

Whether you're a developer exploring SALT for the first time or looking to build advanced automation strategies, this video will help you understand the core concepts, setup, and practical code patterns to get your bot running in production.

LINKS TO RESOURCES
🔗 SALT SDK on NPM
https://www.npmjs.com/package/salt-sdk
🔗 SALT SDK Documentation
https://developer.salt.space/sdk/classes/Salt.html
🔗 SALT Autofi Repository
https://github.com/KagamiDigital/salt-autofi

IN THIS EPISODE
00:00 | Introduction & Purpose of the Walkthrough
00:34 | Overview of Key Developer Resources (SDK, Docs, Autofi Repo)
02:03 | Cloning the SALT Autofi Repository
02:30 | Setting Up Your .env File (Private Key, Networks, RPCs)
05:45 | Installing Dependencies
06:50 | Running the Bot Locally
07:20 | Creating a Testnet Organization in SALT
08:15 | Adding Your Bot as a Collaborator (Bot Auto-Accepts Invites)
10:10 | Verifying the Bot Has Joined Your Organization
10:55 | Creating a New MPC Account (Add Yourself + Bot as Signers)
11:40 | Completing MPC Account Initialization
14:40 | Reviewing the New Account Dashboard
15:10 | (Optional) Setting Up Policies for Bot Permissions
16:40 | Funding the Account With Testnet Tokens
17:20 | Bot Detects Deposit & Executes the Automation
18:35 | Operational Tips for Running Bots in Production
20:10 | Verifying the Sweep & Staking Transactions On-Chain
21:35 | Closing Notes & Next Steps for Building Your Own Bots