Open-source tooling for Solana DeFi
Website β’ Docs β’ Twitter β’
We're building infrastructure for safe, automated trading on Solana. Our open-source libraries power DeFi applications, trading bots, and analytics platforms.
Production-ready Go clients for Solana's core DeFi infrastructure:
| Library | Description | Install |
|---|---|---|
| helius-go | Helius RPC, webhooks, DAS API, priority fees, token holders | go get github.com/Laminar-Bot/helius-go |
| birdeye-go | Birdeye prices, token security, token overview | go get github.com/Laminar-Bot/birdeye-go |
Note: For Jupiter swap execution, we recommend ilkamo/jupiter-go - a well-maintained community library.
| Library | Description | Install |
|---|---|---|
| solana-token-guard | Token safety screening - detect rugs, honeypots, concentrated holdings | go get github.com/Laminar-Bot/solana-token-guard |
import birdeye "github.com/Laminar-Bot/birdeye-go" client, _ := birdeye.NewClient("your-api-key") price, _ := client.GetPrice(ctx, "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263") fmt.Printf("BONK: $%s\n", price.Value)
import "github.com/ilkamo/jupiter-go" client, _ := jupiter.NewClient(jupiter.DefaultConfig()) // Get quote: 1 SOL -> BONK quote, _ := client.GetQuote(ctx, jupiter.GetQuoteParams{ InputMint: "So11111111111111111111111111111111111111112", OutputMint: "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263", Amount: 1_000_000_000, // 1 SOL in lamports SlippageBps: 100, }) // Build and sign transaction...
import "github.com/Laminar-Bot/solana-token-guard" guard := tokenguard.New(tokenguard.Config{ Helius: heliusClient, Birdeye: birdeyeClient, }) result, _ := guard.Screen(ctx, "TokenMint...", tokenguard.LevelNormal) if result.Passed { fmt.Printf("β Safe (score: %d/100)\n", result.Score) } else { fmt.Printf("β Failed: %v\n", result.FailedChecks) }
import helius "github.com/Laminar-Bot/helius-go" client, _ := helius.NewClient("your-api-key") // Create webhook for wallet monitoring webhook, _ := client.CreateWebhook(ctx, &helius.CreateWebhookRequest{ WebhookURL: "https://your-server.com/webhook", AccountAddresses: []string{"WalletToWatch..."}, TransactionTypes: []string{"SWAP"}, WebhookType: helius.WebhookTypeEnhanced, })
Our libraries are designed to work together seamlessly:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Your Application β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β βββββββββββββββ βββββββββββββββ βββββββββββββββββββββββ β
β β helius-go β β birdeye-go β β solana-token-guard β β
β β β β β β β β
β β β’ RPC β β β’ Prices β β β’ Safety checks β β
β β β’ Webhooks β β β’ Security β β β’ Rug detection β β
β β β’ DAS API β β β’ Overview β β β’ Risk scoring β β
β β β’ Holders β β β β β β
β ββββββββ¬βββββββ ββββββββ¬βββββββ ββββββββββββ¬βββββββββββ β
β β β β β
β ββββββββββββββββββ΄ββββββββββββββββββββββ β
β β β
β βββββββββββββ΄ββββββββββββ β
β β ilkamo/jupiter-go β β
β β (community library) β β
β β β’ Quotes & Swaps β β
β βββββββββββββββββββββββββ β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββ
β Solana Network β
βββββββββββββββββββ
| Feature | helius-go | birdeye-go | token-guard |
|---|---|---|---|
| Token Prices | β | ||
| RPC Methods | β | ||
| Webhooks | β | ||
| Token Metadata | β | β | |
| Holder Analysis | β | β | |
| Token Security | β | β | |
| Priority Fees | β | ||
| DAS API | β |
All libraries follow security best practices:
- No credential storage - API keys passed at initialization only
- Input validation - All inputs sanitized
- Error handling - No sensitive data in error messages
- Dependency auditing - Regular
go mod audit
Found a security issue? Email security@laminar.bot
We welcome contributions! Each repository has its own contributing guide:
- Fork the repository
- Create a feature branch
- Write tests for your changes
- Submit a pull request
Please read our Code of Conduct before contributing.
All open-source repositories are released under the MIT License.
- Discord - discord.gg/laminar - Chat with the team and community
- Twitter - @laminarbot - Updates and announcements
- GitHub Discussions - Ask questions and share ideas
Using our libraries? Let us know! Open a PR to add your project here.
Built with β for the Solana ecosystem