wallet
Installation
bun add @regent/walletBasic Usage
import { createAgent } from '@regent/core';
import { http } from '@regent/http';
import { wallets, walletsFromEnv } from '@regent/wallet';
const agent = await createAgent({
name: 'my-agent',
version: '1.0.0',
})
.use(http())
.use(wallets({ config: walletsFromEnv() }))
.build();API Reference
wallets(options?)
WalletsConfig
walletsFromEnv()
WalletConnector Interface
WalletMetadata
WalletCapabilities
Connector Types
LocalEoaWalletConnector
Options
Capabilities
ThirdwebWalletConnector
Options
Dependencies
ServerOrchestratorWalletConnector
Options
Access Token Management
Environment Variables
Agent Wallet
Developer Wallet
Challenge Signing
AgentChallenge
Signing Modes
EIP-712 Typed Data
EIP-191 Message
Message Encoding Detection
LocalEoaSigner Interface
Viem Integration
Signature Utilities
Creating Private Key Signer
Custom Wallet Connector
CompatibleWallet Interface
WalletsRuntime
Address Utilities
Exports
Last updated