developer portal
everything you need to build with virio
SDKs, interactive API references, event schemas, and copy-paste examples. ship onchain billing without becoming a payments team.
Quickstart
Install a package, point it at the manager contract, and make your first call. Every SDK is typed end-to-end and tree-shakeable.
@virio/sdkCore TypeScript SDK
@virio/sdk/reactNative React components
@virio/sdk/vueNative Vue plugin
@virio/sdk/angularNative Angular bindings
@virio/sdk/webFramework-neutral Web Component
@virio/contractsSolidity interfaces & ABIs
1npm install @virio/sdkAPI reference
Try every endpoint live — responses are returned inline.
Create a subscription product
Copy-paste examples
React, Next.js, Solidity, and webhook payloads — ready to drop in.
Subscribe.tsx
1import { VirioButton, VirioProvider } from "@virio/sdk/react";2 3export function Subscribe({ planId }: { planId: string }) {4 return (5 <VirioProvider rpcUrl={process.env.NEXT_PUBLIC_RPC_URL!}>6 <VirioButton planId={planId}>Subscribe — $49/mo</VirioButton>7 </VirioProvider>8 );9}Execution lifecycle
Every subscription and payroll run follows the same five stages.
1
createProduct / payroll defined2
approveCustomer signs once3
scheduleAgreement becomes due4
executeExecutor triggers settlement5
settleFees split, funds deliveredEvent schemas
Webhook event types delivered to your endpoint.
subscription.chargedA recurring charge settlessubscription.failedA charge reverts onchainsubscription.cancelledAn agreement is cancelledpayroll.executedA payroll run completesexecutor.reward.paidAn executor is paid its feeReady to go live?
Spin up the dashboard, create a product, and start settling onchain.