Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
164244e
feat(cli): add EAS attestation support to deploy, verify, and transfe…
Ad-Capital Nov 6, 2025
ceed00c
refactor(attestation): normalize console + spinner usage for MCP Serv…
Ad-Capital Dec 1, 2025
017e146
Merge branch 'main' of https://github.com/Ad-Capital/rsk-cli into Adrian
Ad-Capital Dec 1, 2025
13f5eb1
refactor(attestation): centralize attestation flow with shared handle…
Ad-Capital Dec 8, 2025
4e48651
feat(attestation): add transfer attestation support with password cap…
Ad-Capital Dec 12, 2025
cf06ce5
refactor(logger): replace local logging with centralized logger and s…
Ad-Capital Dec 12, 2025
f814640
refactor(logger): centralize logging + spinner usage across commands …
Ad-Capital Dec 13, 2025
f1db85c
feat(attestation): add viewer URLs and document deployment/verificati…
Ad-Capital Jan 5, 2026
aee15ef
docs(attestation)!: require user-provided schema UIDs for all attesta…
Ad-Capital Jan 11, 2026
dbb51c2
feat(attestations): add default schemas for testnet attestations
Ad-Capital Jan 19, 2026
ceaecef
Merge branch 'main' into Adrian
scguaquetam Jan 29, 2026
18a2cf5
feat(attestation): implement all three attestation types with registe…
Ad-Capital Feb 13, 2026
9190089
docs(attestation): update schema definitions and UIDs in ATTESTATIONS.md
Ad-Capital Feb 15, 2026
b8e27df
refactor(walletSigner): remove unused viem WalletClient import
Ad-Capital Feb 17, 2026
6ad775f
fix(attestation): correct explorer URL to include /ras/ path
Ad-Capital Feb 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions bin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ interface CommandOptions {
gasLimit?: string;
gasPrice?: string;
data?: string;
attestDeployment?: boolean;
attestVerification?: boolean;
attestTransfer?: boolean;
attestSchemaUid?: string;
attestRecipient?: string;
attestReason?: string;
rns?: string;
}

Expand Down Expand Up @@ -123,6 +129,10 @@ program
.option("--gas-limit <limit>", "Custom gas limit")
.option("--gas-price <price>", "Custom gas price in RBTC")
.option("--data <data>", "Custom transaction data (hex)")
.option("--attest-transfer", "Create attestation for significant transfers")
.option("--attest-schema-uid <uid>", "Custom schema UID for attestation")
.option("--attest-recipient <address>", "Custom recipient for attestation (default: transfer recipient)")
.option("--attest-reason <reason>", "Reason/purpose for the transfer (e.g., 'Grant payment', 'Bounty reward')")
.action(async (options: CommandOptions) => {
try {
if (options.interactive) {
Expand Down Expand Up @@ -181,6 +191,12 @@ program
value: value,
name: options.wallet!,
tokenAddress: options.token as `0x${string}` | undefined,
attestation: {
enabled: !!options.attestTransfer,
schemaUID: options.attestSchemaUid,
recipient: options.attestRecipient,
reason: options.attestReason
}
}
);
} catch (error: any) {
Expand Down Expand Up @@ -220,6 +236,9 @@ program
.option("--wallet <wallet>", "Name of the wallet")
.option("--args <args...>", "Constructor arguments (space-separated)")
.option("-t, --testnet", "Deploy on the testnet")
.option("--attest-deployment", "Create attestation for deployment")
.option("--attest-schema-uid <uid>", "Custom schema UID for attestation")
.option("--attest-recipient <address>", "Custom recipient for attestation (default: contract address)")
.action(async (options: CommandOptions) => {
const args = options.args || [];
await deployCommand(
Expand All @@ -229,6 +248,11 @@ program
testnet: options.testnet,
args: args,
name: options.wallet!,
attestation: {
enabled: !!options.attestDeployment,
schemaUID: options.attestSchemaUid,
recipient: options.attestRecipient
}
}
);
});
Expand All @@ -244,6 +268,9 @@ program
"--decodedArgs <args...>",
"Decoded Constructor arguments (space-separated)"
)
.option("--attest-verification", "Create attestation for contract verification")
.option("--attest-schema-uid <uid>", "Custom schema UID for attestation")
.option("--attest-recipient <address>", "Custom recipient for attestation (default: contract address)")
.action(async (options: CommandOptions) => {
const args = options.decodedArgs || [];
await verifyCommand(
Expand All @@ -253,6 +280,11 @@ program
name: options.name!,
testnet: options.testnet === undefined ? undefined : !!options.testnet,
args: args,
attestation: {
enabled: !!options.attestVerification,
schemaUID: options.attestSchemaUid,
recipient: options.attestRecipient
}
}
);
});
Expand Down
Loading