ThalaLabs

Open source projects

surf
5313

Type-Safe TypeScript Interfaces & React Hooks for Aptos.

#aptos#react-hooks
Showcase example

Manage your multisig accounts on Aptos & Movement safely.

#aptos#cli#move#multisig

Q64.64 fixed point library in Aptos Move

#aptos#math

Signed int library (i64 and i128) in Aptos Move

#aptos#math

cat but for your aptos package

#aptos#cli

Download Aptos/Movement package source code directly from on-chain accounts.

#aptos#cli

A resilient Aptos client with automatic failover and recovery capabilities.

#aptos#rpc
import { AptosResilientClient } from "@thalalabs/aptos-resilient-client";

// Create a resilient client with multiple endpoints
const resilientClient = new AptosResilientClient({
  endpoints: [
    new AptosConfig({ fullnode: "https://your-primary-aptos-rpc/v1" }), // Primary
    new AptosConfig({ fullnode: "https://api.mainnet.aptoslabs.com/v1" }), // Backup
  ],
  unhealthyThreshold: 3,      // Mark endpoint unhealthy after 3 failures
  healthCheckInterval: 30000, // Check every 30 seconds
  requestTimeout: 10000,      // 10 second timeout per request
});

// Get the Aptos client instance
const client = resilientClient.getClient();

Labels for Aptos addresses

#aptos

Handles Aptos account key rotation with automatic backups, safety checks, and rollback.

#aptos#cli#private-key
aptos-keyrotate --profile my-wallet --yes

Aptos transaction executor

#aptos#cli