Neynar SDK
Getting Started with Neynar Rust SDK
Easily call Neynar APIs with our Rust SDK
This tutorial uses the Neynar Rust SDK
This SDK is in beta and may change in the future. Please let us know if you encounter any issues or have suggestions for improvement.
Prerequisites
- Install Rust (using rustup)
- Get your Neynar API key from neynar.com
Project Setup
Initialize Project Directory
Add Neynar SDK as a dependency
Implementation: Look up a user by their verified address
Replace the contents of src/main.rs
with the following code:
Running the project
Result
You should see a response similar to this (formatted for readability):
Congratulations! You successfully set up the Neynar Rust SDK and used it to look up a user by their address!
Ready to start building?
Get your subscription at neynar.com and reach out to us on Telegram with any questions!