SDK Auth
Celo Wallet Connection
Connect your application to Celo using the viem/wagmi SDK to authenticate users and request transaction signatures.
import { createWalletClient, custom } from "viem";
import { celo } from "viem/chains";
const client = createWalletClient({
chain: celo,
transport: custom(window.ethereum)
});
const [address] = await client.requestAddresses();
console.log("Connected", address);Celo Contracts
Minting Proof-of-Work Contracts
Mint an on-chain cryptographic proof of task completion by calling a Celo Solidity contract.
// Solidity (Celo)
function mintProof(
uint256 taskId,
string memory title,
uint256 repPoints
) external onlyOwner {
_mint(msg.sender, taskId);
emit ProofMinted(taskId, title, repPoints);
}REST API
Fetch Active Sprints
Fetch all active tasks and sprints within a workspace via REST endpoint.
GET/api/v1/workspace/sprints