Deploy a Token on Base with 1 API Call
This guide provides a step-by-step process to deploy a fungible token on the Base network using Neynar’s API. The deployment process is simplified to a single API call, eliminating the need for developers to write Solidity code or handle on-chain transaction signing. Neynar covers the on-chain deployment fees and assigns the specified owner address as the token owner.
Related API: Deploy fungible
Prerequisites
- Neynar API Key: Ensure you have a valid API key from Neynar. You can obtain one by signing up at neynar.com.
- Environment Setup: Follow the Getting Started Guide to set up your environment.
API Endpoint
- Endpoint:
/fungible
- Method:
POST
- Content Type:
multipart/form-data
Request Body Schema
The request body should include the following fields:
Required Fields
owner
: Ethereum address of the token creator.symbol
: The token’s symbol or ticker.name
: The name of the token.
Optional Metadata Fields
media
: Can be a binary file (image/jpeg, image/gif, image/png) or a URI.description
: A brief description of the token.nsfw
: Indicates if the token is NSFW (“true” or “false”).website_link
,twitter
,discord
,telegram
: Links related to the token.
Example Request
Here’s an example of how to deploy a token using the Neynar API:
Response
A successful response will include the following details:
Conclusion
By following this guide, you can easily deploy a fungible token on the Base network using Neynar’s API. This process abstracts the complexities of blockchain development, allowing you to focus on building your application. For further assistance, reach out to Neynar support or consult the Neynar API documentation.
Was this page helpful?