Documentation Index
Fetch the complete documentation index at: https://voltaire.tevm.sh/llms.txt
Use this file to discover all available pages before exploring further.
Looking for Contributors! This Skill needs an implementation.Contributing a Skill involves:
- Writing a reference implementation with full functionality
- Adding comprehensive tests
- Writing documentation with usage examples
See the ethers-provider Skill for an example of a complete Skill implementation.Interested? Open an issue or PR at github.com/evmts/voltaire.
Skill — Copyable reference implementation. Use as-is or customize. See Skills Philosophy.
Integrate with Farcaster’s on-chain identity and social graph.
Planned Implementation
Identity (ID Registry)
import { Farcaster } from './Farcaster.js';
const fc = Farcaster({
provider,
idRegistry: ID_REGISTRY,
keyRegistry: KEY_REGISTRY,
});
// Get FID for address
const fid = await fc.getFid(address);
// Get custody address for FID
const custody = await fc.getCustodyAddress(fid);
// Register new FID
await fc.register({
recovery: recoveryAddress,
signer,
});
Keys
// Add signer key
await fc.addKey({
fid,
key: signerPublicKey,
keyType: 1, // Ed25519
signer,
});
// Remove key
await fc.removeKey({
fid,
key: signerPublicKey,
signer,
});
Frames
// Validate frame action message
const { isValid, message } = await fc.validateFrameAction(
trustedData.messageBytes
);
if (isValid) {
console.log('FID:', message.fid);
console.log('Button:', message.buttonIndex);
console.log('Input:', message.inputText);
}
Resources