Chromia ft4-ts-client API Reference

website·Indexed 35 days ago

https://docs.chromia.com/

TypeScript client library for Chromia, providing interfaces and functions for blockchain operations. Includes the Session interface for querying data and submitting signed transactions, a TransactionBuilder for signing transactions, and utility functions for account management, authentication, and transaction handling.

Tokens
479.2K
Snippets
3.1K
Records
4.1K
Agent score
63%

What's inside Chromia ft4-ts-client

  1. Overview of the Chromia Bridge Client

    The Chromia bridge client is a tool used to facilitate token transfers between Chromia and Ethereum Virtual Machine (EVM) networks. It supports interaction with the Economy Chain (and any other chain supporting bridging) as well as separately deployed bridge chains. When configuring the client, users must specify the Blockchain RID (BRID) and the corresponding contract addresses. It serves as a more flexible alternative to the Vault interface.
  2. Overview of Chromia Vector DB extension

    The Chromia Vector DB extension is a decentralized vector database integrated with blockchain technology. It is designed for building intelligent recommendation and similarity search systems that require high-performance similarity searches across large datasets, real-time query processing, and tamper-proof metadata storage. Unlike traditional centralized databases, it leverages blockchain immutability to ensure data integrity and a decentralized architecture to eliminate single points of failure.
  3. Overview of Chromia Vector Search capabilities

    Chromia enables the mixing of transactional and AI-centric workloads by combining PostgreSQL extensions, embedded vector stores, and on-chain access control. Key capabilities include:

    • Native support for the pgvector extension with deterministic replication across providers.
    • Full-text indexes for scoping search queries to specific tenants or application chains.
    • Deterministic execution for ranking functions, ensuring consistent ordered results across all replicas for the same query.
  4. Overview of the Chromia Token Chain

    The Token Chain is a specialized component of the Chromia ecosystem designed to handle token management, account creation, and the setup of bridges for asset transfers.
  5. Overview of Chromia AI Inference extension

    The AI Inference extension allows developers to build decentralized AI applications that perform real-time, intelligent processing within an on-chain environment. It addresses the limitations of traditional centralized AI (such as censorship and lack of transparency) by combining externally trained models with blockchain verification. This ensures that AI operations are trustless, tamper-proof, and verifiable while maintaining the ability to process natural language queries and manage context securely on-chain.
  6. Overview of the Interchain Messaging Facility (ICMF)

    The Interchain Messaging Facility (ICMF) is an event-based service that enables real-time, bidirectional communication between different blockchains within the Chromia network. It allows one blockchain to emit events via transactions, which other blockchains can subscribe to via specific topics. When a subscribed event is detected, the receiving blockchain automatically triggers corresponding functions, ensuring secure, transparent, and tamper-proof data delivery through block header integration.
  7. Overview of available Postchain client libraries

    Chromia provides several client libraries to enable applications to interact with a blockchain node running Rell. These clients allow developers to send transactions, execute queries, and retrieve blockchain information across various programming languages:
  8. Overview of the Chromia Governance Tool

    The Governance Tool is an on-chain voting solution built on the Chromia blockchain. It allows decentralized applications (dapps) to implement secure decision-making processes. Key capabilities include:

    • Ethereum Integration: Uses EVM tokens as voting power via Chromia's bridging technology.
    • Flexible Voting Power: Supports both staked tokens and tokens held in wallets.
    • Cost Efficiency: Operates with a gas-free framework.
    • Automation: Supports auto-executable commands through extendable functions.
  9. Overview of the FT4 library for Chromia dApps

    The FT4 library is a developer toolkit designed for building real-world applications within the Chromia ecosystem. It provides out-of-the-box support for account creation, access management, and integration with external signature solutions. Key capabilities include:

    • Asset Management: Tools for the creation, allocation, and management of assets, including tracing asset activities.
    • Asset Transfers: Support for secure and efficient asset transfers both within a single chain and across different blockchains in the Chromia ecosystem (Cross-Chain Transfers).
    • Account Management: Independent registration and oversight of user accounts, decoupled from asset activities.
  10. Overview of the Chromia Postchain JavaScript/TypeScript client

    The postchain-client library provides a set of utilities for interacting with the Chromia blockchain. It enables developers to send transactions, retrieve information from blockchain nodes running Rell, and build decentralized applications. Key capabilities include transaction management (creating, signing, and sending), query execution, support for multiple nodes for redundancy, automatic node discovery via Directory Chain, and full TypeScript type definitions.
  11. Overview of the Rell crypto namespace

    The crypto namespace provides a suite of cryptographic tools for Rell developers, including hashing (SHA256, Keccak256), key derivation, signature verification, and Ethereum-specific operations such as address derivation and signature recovery. Public key inputs are flexible and support compressed (33-byte), uncompressed (65-byte), and 64-byte formats.
  12. Overview of the FT4 library for Chromia dApps

    The FT4 library is a toolkit designed for dApp developers building within the Chromia ecosystem. It provides out-of-the-box support for account creation, access management, and integration with external signature solutions. Additionally, it handles asset management, including the issuance, allocation, transfer, and tracing of assets both within a single chain and across multiple chains in the Chromia ecosystem.