arc56-generated-tripleight-spm
v1.7.2026092912
Published
Generated ARC-56 Algorand smart-contract clients for TriplEight/SPM.
Downloads
219
Maintainers
Readme
arc56-generated-tripleight-spm
Auto-generated typed Algorand smart-contract clients for TriplEight/SPM, built from the ARC-56 specs listed below.
Generated by the Arc56Registry pipeline, using the algorandfoundation/algokit-client-generator-ts ARC-56 client generator. Do not edit these files by hand — they are regenerated automatically whenever the source ARC-56 spec changes.
Install
npm install arc56-generated-tripleight-spm @algorandfoundation/algokit-utils algosdkBasic usage
Each contract in this package is re-exported under its own namespace (a hash of its
source URL is appended to keep multiple contracts in the same repository from
colliding), containing a typed <Name>Client for interacting with an already-deployed
instance of that contract, plus a <Name>Factory for deploying new instances.
import { AlgorandClient } from "@algorandfoundation/algokit-utils";
import { PaymentRouter_13dfb311 } from "arc56-generated-tripleight-spm";
const algorand = AlgorandClient.mainNet();
const client = new PaymentRouter_13dfb311.PaymentRouterClient({
algorand,
appId: 123456789n,
});
// call a contract method, e.g.:
// const result = await client.send.someMethod({ args: [...] });full vs minimal generator mode
Contracts in this package are generated with the client generator's full mode by
default, which emits both the typed Client and a deploy/create Factory class. A
small number of contracts' full-mode output has been observed to type-check against
non-exported internal shapes of @algorandfoundation/algokit-utils's AlgorandClient
that break across algokit-utils versions the generator doesn't itself pin against - for
those specific contracts only, this package falls back to minimal mode (Client
only, no Factory) instead of failing outright. The contracts table below flags any
contract generated this way; every other contract includes a working Factory.
Contracts included in this package
| Namespace | Client class | Source ARC-56 spec |
| --- | --- | --- |
| PaymentRouter_13dfb311 | PaymentRouterClient | https://raw.githubusercontent.com/TriplEight/SPM/HEAD/contracts/smart_contracts/artifacts/payment_router/PaymentRouter.arc56.json |
| SplitRouter_838f0717 | SplitRouterClient | https://raw.githubusercontent.com/TriplEight/SPM/HEAD/contracts/smart_contracts/artifacts/split_router/SplitRouter.arc56.json |
Versioning
This package uses 1.0.<increment>.<yyyyMMddHH>-style versioning (expressed as valid
semver 1.<increment>.<yyyyMMddHH>): a new version is published whenever any of the
contracts above change, or whenever the client generator itself is updated. See
Arc56Registry for the full generation
pipeline and source ARC-56 registry.
