Holdex offers developer tools for Web3 apps and SQL contracts
Last updated -
Holdex lists Thirdweb Svelte and the TRUF NETWORK SDK among its developer tools for Web3 apps and SQL contracts. Thirdweb Svelte provides a Svelte integration for the thirdweb toolset, including wallet connections. The TRUF NETWORK SDK works with economic data streams through language-specific clients. Its queries can return original records, normalized indices or percentage changes. Creating a stream has a separate requirement: the deploying wallet must hold the network’s designated writer role.
Wallet Connections in a Svelte Application
Thirdweb Svelte is an open-source Svelte SDK with a wallet-connection component for Web3 applications. Its
ConnectWalletModal
accepts a required chain configuration and optional wallet and chain lists. The setup includes
ThirdwebSvelteProvider
, a thirdweb client ID and a query provider.
Browser use of
ConnectWalletModal
can encounter
ReferenceError: process is not defined
with thirdweb 5.105.29 and later. The version-specific workaround uses thirdweb 5.105.28.
TRUF NETWORK Clients for SQL Data Streams
TRUF NETWORK SDKs expose economic data streams through Go, TypeScript/JavaScript and Python clients. These clients support the data-stream side of SQL contract development on TRUF NETWORK.
Stream Identity
A
streamID
identifies a data stream, and queries also use the data provider’s address. The explorer exposes these details for the stream being queried. An application needs both inputs when addressing the stream through its client.
Language-Specific Interfaces
Client initialization and method signatures follow the selected SDK’s language. The clients share core record and index operations, so language choice can follow the application’s codebase. Exact function names and parameters belong to the selected SDK. Stream deployment also appears among their capabilities, subject to the network’s authorization requirements.
What Do Raw Records and Index Queries Return?
Raw-record queries return original numeric values; index queries express those values on a common base or as percentage change over time.
Original Numeric Records
The raw-record operation uses names such as
getRecord
and
get_records
to retrieve unaltered stream values. This representation suits an application needing measurements in the stream’s original scale. The interface should retain that scale and identify the underlying measurement so the returned numbers remain interpretable.
Indices on a Common Base
The
getIndex
operation normalizes values to a base of 100. This common scale helps compare streams whose raw numbers use different scales. The resulting figure describes the series relative to its base, rather than preserving the original measurement. Each series retains its own economic meaning after normalization.
Percentage Changes Across an Interval
The
getIndexChange
operation calculates percentage change in a stream’s index over a specified interval. The interval belongs to the result’s meaning: a day-over-day comparison and a year-over-year comparison answer different questions. Applications displaying changes should preserve the selected interval alongside the returned value, especially when showing different streams together.
Which Wallets Can Deploy New TRUF NETWORK Streams?
Only wallets holding the TRUF NETWORK
system:network_writer
role can deploy new primitive or composed streams through the SDKs.
The SDK exposes the deployment operation, while the network’s role-based access control determines whether the wallet may use it. Installing a client does not grant that role.
Partners and data providers can request deployment access through a grant of the role to their wallet. Authorization needs to precede stream creation, even when the application already has a working wallet connection.
The SDKs also support handling stream permissions. That capability concerns a stream’s access settings; authorization to create new streams comes from the network writer role.
Local Nodes and Empty Query Results
TRUF NETWORK SDKs can query a fully synchronized local node as well as the public gateway. The client points to the node’s HTTP API, and queries still require the stream ID and data provider address. An unconnected local node can return empty results because its database lacks network data. The response then reflects that local state; it does not establish that the selected stream has no records across the network. Connection and synchronization are prerequisites for interpreting local query results.
The endpoint choice concerns access to network data. The query choice concerns its representation. A synchronized node still needs the appropriate record, index or percentage-change operation for the application’s intended display.
Contract-Specific Procedures
TRUF NETWORK SDKs can call custom stored procedures defined on a stream’s contract, alongside common record and index operations. A custom procedure’s meaning comes from its contract definition. The application needs to match that procedure’s inputs and output. The scope remains the selected contract: a shared client library does not make different contracts expose identical procedures.
Automation Around Contract and Project Work
Kronos addresses on-chain workflow automation and smart contract management. Wizard Extension handles GitHub issue and project management through a Chrome extension. Holdex Automation is a GitHub App supporting Holdex’s engineering process from the server side.
Which Tool Fits the Required Integration?
Thirdweb Svelte fits Svelte wallet integration, while the TRUF NETWORK SDK fits SQL contract and economic data-stream tasks. Choose the component by the work the application needs to perform:
- Use Thirdweb Svelte for wallet-connection components within a Svelte Web3 application.
- Choose a TRUF NETWORK client matching the application’s programming language for stream and SQL contract interactions.
- Identify whether the display needs raw records, a normalized index or percentage change over a defined interval.
-
Establish the deploying wallet’s
system:network_writerauthorization before deploying a new stream. - Use a local TRUF NETWORK endpoint only when its node is connected, synchronized and exposing its HTTP API.
Quick answers about Holdex
Can I Use Thirdweb Svelte in a Svelte 4 Project?
Thirdweb Svelte’s Svelte 4 installation branch uses SDK version 0.2.16 with vaul-svelte 0.3.2. The vaul-svelte version constraint belongs to the v0.x SDK branch, including when that branch is used with Svelte 5.
Does Thirdweb Svelte Support private-key Export for Every Connected Wallet?
Its ExportPrivateKeyModal is available only for inApp wallets. Check the connected wallet’s type before showing the export option.
Are Batch Operations Available in the TRUF NETWORK SDKs?
TRUF NETWORK SDKs include batch-operation support. This capability does not change the network writer role required for stream deployment.
Can the TRUF NETWORK SDK Manage Stream Metadata?
TRUF NETWORK SDKs support managing stream metadata as well as inserting and retrieving records. Metadata management concerns the stream’s descriptive information. It is distinct from selecting the numeric representation a data query returns.
Does the Go SDK Use the Same Action Client for Every TRUF NETWORK Stream Type?
Go query setup can depend on whether the TRUF NETWORK stream is primitive or composed. The LoadComposedActions setup applies to composed actions, and record-retrieval methods can differ between stream types.