SDKs & Libraries
Official SDKs and libraries for integrating SolCertUp with your application.
JavaScript/TypeScript
Install via npm:
bash
npm install @solcertup/sdktypescript
import { SolCertUp } from '@solcertup/sdk';
const client = new SolCertUp({
apiKey: 'YOUR_API_KEY_HERE'
});
// Verify a project
const verification = await client.verify('PLACEHOLDER_PROJECT_ADDRESS');
console.log(verification.tier); // 'gold'
console.log(verification.trustScore); // 92
// Search projects
const results = await client.projects.search({
query: 'dex',
tier: 'gold',
limit: 20
});Python
Install via pip:
bash
pip install solcertup-sdkpython
from solcertup import SolCertUp
client = SolCertUp(api_key='YOUR_API_KEY_HERE')
# Verify a project
verification = client.verify('PLACEHOLDER_PROJECT_ADDRESS')
print(verification['tier']) # 'gold'
print(verification['trustScore']) # 92
# List projects
projects = client.projects.list(limit=50)
for project in projects:
print(f"{project['name']} - {project['tier']}")Go
Add to your go.mod:
text
require github.com/solcertup/go-sdk v1.0.0go
package main
import (
"fmt"
"github.com/solcertup/go-sdk"
)
func main() {
client := solcertup.NewClient("YOUR_API_KEY_HERE")
// Verify a project
verification, err := client.Verify("PLACEHOLDER_PROJECT_ADDRESS")
if err != nil {
panic(err)
}
fmt.Printf("Tier: %s, Trust Score: %d\n", verification.Tier, verification.TrustScore)
}REST API Client
For direct HTTP calls without SDK:
bash
curl -X GET https://api.solcertup.com/v1/verify/PLACEHOLDER_PROJECT_ADDRESS \
-H "Authorization: Bearer YOUR_API_KEY_HERE" \
-H "Content-Type: application/json"Webhook Support
Receive real-time notifications for certification updates:
json
// Configure webhook in dashboard
POST https://your-domain.com/webhooks/solcertup
// Webhook payload
{
"event": "certification.approved",
"projectId": "project-123",
"tier": "gold",
"timestamp": "2024-06-09T12:00:00Z"
}SDK Support
Official SDKs available for:
- ✓ JavaScript/TypeScript
- ✓ Python 3.8+
- ✓ Go 1.18+
- ✓ Java/Kotlin (coming soon)
- ✓ C# (coming soon)