MultiVM capabilities

Details are provisional and may be updated during development.

Unified Asset Management

Phase 1: Cross-VM Asset Queries

While your existing development tools work unchanged, Arichain adds powerful new capabilities for managing assets across both virtual machines through a unified interface.

// Install the Arichain SDK alongside your existing tools
npm install @arichain/sdk

// Use with your existing Web3 libraries
import { ArichainClient } from '@arichain/sdk';
import { ethers } from 'ethers';
import { Connection, PublicKey } from '@solana/web3.js';

const arichain = new ArichainClient({
    evmRpc: 'https://evm-testnet.arichain.network (TBD)',
    svmRpc: 'https://svm-testnet.arichain.network (TBD)'
});

// Query assets across both VMs with a single call
const userAssets = await arichain.getUnifiedAssets('0x742d35Cc6Db09E7E85CCf29B82FcCBa94EAA78AE');

console.log(userAssets);
// Response includes assets from both VMs:
// {
//   evm: {
//     ARI: '150',
//     USDC: '1000.0',
//     WETH: '2.3',
//     customTokens: [...]
//   },
//   svm: {
//     ARI: '50',
//     USDT: '500.0',
//     SOL: '8.7',
//     splTokens: [...]
//   },
//   totalValue: {
//     ARI: '150',
//     ...
//   },
//   crossVMCapabilities: {
//     canTransferARI: true,
//     linkedAccounts: true
//   }
// }

Account Mapping System

Arichain provides seamless account mapping between EVM and SVM addresses, enabling unified identity across both virtual machines.

Unified Balance Tracking

Advanced Features

Phase 2: Cross-VM Interactions (In Development)

Future versions of Arichain will support direct interactions between EVM contracts and SVM programs, enabling seamless cross-VM functionality.

Cross-VM Data Fetching (In Development)

Enable EVM contracts to query SVM program state and vice versa, creating truly interconnected applications.

Last updated