This SDK provides example API clients and Web3 connection utilities for Talentum.Network.
It includes Node.js and Python implementations.
- Connect to Talentum API (HTTP REST)
- Authentication (JWT token)
- Example endpoints: Login, Get Services
- Web3 connection (Ethereum / EVM compatible)
- Wallet interaction examples
- Node.js v18+
- Python 3.9+
- Dependencies:
- axios (Node.js)
- requests (Python)
- ethers (Node.js, for Web3)
- web3.py (Python, for Web3)
npm install axios ethers
pip install requests web3
import { login, getServices } from "./api.js";
import { connectWallet, getBalance } from "./web3.js";
(async () => {
const auth = await login("email@example.com", "password123");
console.log("Token:", auth.token);
const services = await getServices();
console.log("Services:", services);
const provider = await connectWallet();
const balance = await getBalance("0xYourAddressHere");
console.log("Balance:", balance);
})();
from api import login, get_services
from web3_utils import connect_wallet, get_balance
auth = login("email@example.com", "password123")
print("Token:", auth.get("token"))
services = get_services()
print("Services:", services)
provider = connect_wallet()
balance = get_balance("0xYourAddressHere")
print("Balance:", balance)