Resources
Clanker API docs
Learn how to deploy tokens on Base using the Clanker API.
Privy Wallets
Privy wallets for secure EVM wallet management.
Twitter API
Reference for building bots on Twitter.
Set up your Twitter bot
To interact with users, you’ll need a Twitter developer account and a bot. Learn more here.Set up Privy wallets
Privy managed wallets let you create and control EVM wallets programmatically. Learn more about getting started with managed wallets.Using wallets
In our example application, we will build two basic interactions with Privy wallets:- Create a wallet
- Get a user’s wallet
1
Create a wallet for a user
This function creates a new wallet for a user and saves the wallet ID to the database.
2
Get a user wallet
This function checks if a user has a wallet and returns it if it exists.
3
Get or create a wallet
A higher level function that uses the
getUserWallet
and createUserWallet
functions to get or create a wallet for a user.Integrate LLM for intent detection
Use an LLM to interpret user messages and decide what action to take. Treat the LLM as a black box that receives a prompt and returns a structured intent.Getting set up with Clanker API
To deploy tokens via the Clanker API, you first need to obtain an API key.1
Request API access
- Visit the Clanker API documentation.
- Follow the instructions or contact the Clanker team via their documentation or contact page to request API access.
- Once approved, you’ll receive an
x-api-key
to use in your API requests.
2
Next: Deploy a token
Once you have your API key, you can use it to deploy tokens via the Clanker API. See the next
section for a full deployment code example.