AbsoluteJS

@absolutejs/onchain-base

@absolutejs/onchain-basev0.0.3betaOn-chain

Base (L2) adapter for @absolutejs/onchain: gasless soulbound seed-is-asset minting, with un-forgeable, GitHub-verified attestations.

#Installation

BASH
bun add @absolutejs/onchain-base

#Capabilities

Overview

Base (L2) adapter for @absolutejs/onchain: gasless, soulbound, seed-is-asset minting with un-forgeable, GitHub-verified attestations.

See the @absolutejs/onchain docs for the full provider-agnostic API. Part of @absolutejs/onchain-adapters.

Outcomes

What you can build

Build on the supported package contract

Use @absolutejs/onchain-base through its supported public entry points.

Hardening checklist

Production guidance

Make every external boundary explicitPin the deployed @absolutejs/onchain-base version, replace example or memory-backed dependencies with durable implementations, bound external calls, protect credentials, and emit enough evidence to retry or recover safely.

Follow in order

Troubleshooting path

1
Trace from the first failed boundary
Reproduce the smallest canonical @absolutejs/onchain-base example, confirm the supported entry point and version in the API explorer, then inspect the first boundary that did not produce its documented result.

#@absolutejs/onchain-base quick start

Partial snippet

# @absolutejs/onchain-base

BASH
bun add @absolutejs/onchain-base @absolutejs/onchain

#@absolutejs/onchain-base quick start 2

Partial snippet

# @absolutejs/onchain-base

TS
import { createOnchain } from '@absolutejs/onchain';
import { baseAdapter } from '@absolutejs/onchain-base';

const onchain = createOnchain({ adapter: baseAdapter({ /* … */ }) });

#Public entry points

Supported entry points declared by this package manifest.

Package entry point declared in package.json.

@absolutejs/onchain-base@absolutejs/onchain-base/manifest@absolutejs/onchain-base/manifest.json

#Package commands

Scripts declared by this package manifest.

bun run buildrm -rf dist && bun build src/index.ts src/manifest.ts --root ./src --outdir dist --sourcemap --target=bun --external @absolutejs/onchain && tsc --project tsconfig.build.json && absolute-manifest emit
bun run typechecktsc --noEmit

#API reference

Search the declarations exported by the current package type files. Expand a symbol to inspect its source-backed signature.

2 symbols
BaseConfigtypePermalinkSource
TS
type BaseConfig = {
    rpcUrl?: string;
    contract?: string;
    attesterPrivateKey?: string;
    paymasterUrl?: string;
    githubToken?: string;
};
Exported from @absolutejs/onchain-base