Developer Hub

Build on BlogThree

Integrate Web3 features and build amazing decentralized applications

Documentation

Complete API reference and integration guides

Explore Docs →

Smart Contracts

Verified contracts and deployment guides

View Contracts →

Open Source

SDKs, examples, and community projects

View GitHub →

API Overview

REST API

Access BlogThree data and functionality through our RESTful API. Perfect for traditional web applications.

# Get user's NFTs
GET /api/v1/users/{userId}/nfts
# Create new content
POST /api/v1/content
# Get marketplace data
GET /api/v1/marketplace/trending

GraphQL API

Query exactly the data you need with our flexible GraphQL endpoint. Ideal for modern applications.

query UserNFTs($userId: ID!) {
user(id: $userId) {
nfts {
id
title
price
}
}
}

Smart Contracts

BlogThreeNFT.sol

Main NFT contract implementing ERC-721 with royalties

Verified
Ethereum Mainnet: 0x742d35Cc6634C0532925a3b844Bc95e3d91a4D7

BlogThreeMarketplace.sol

Decentralized marketplace for trading NFTs

Verified
Ethereum Mainnet: 0x8956F5Ae93b4C62d458De890cB3214567a89E234

BlogThreeGovernance.sol

DAO governance contract for platform decisions

Testnet
Goerli Testnet: 0x1234567890abcdef1234567890abcdef12345678

SDKs & Libraries

JavaScript SDK

Full-featured SDK for Node.js and browsers

# Install
npm install @blogthree/sdk
View Documentation →

Python SDK

Pythonic interface for BlogThree APIs

# Install
pip install blogthree
View Documentation →

Web3.js Plugin

Direct blockchain integration plugin

# Install
npm install @blogthree/web3
View Documentation →

Quick Start Example

// Initialize SDK
import BlogThree from '@blogthree/sdk';
const client = new BlogThree({
apiKey: 'your-api-key',
network: 'mainnet'
});
// Mint an NFT
const nft = await client.mintNFT({
title: 'My First NFT',
content: 'Hello Web3!',
price: 0.1
});

Web3 Integration

// Connect wallet
const provider = await web3Modal.connect();
const web3 = new Web3(provider);
// Get contract instance
const contract = new web3.eth.Contract(
BlogThreeABI,
'0x742d35Cc...'
);
// Call contract method
await contract.methods.mint().send({
from: account
});

Send Feedback

Thank You!

Your feedback has been sent. We appreciate your input!

Page:

Your feedback helps us improve BlogThree