presign-guard-wallet 0.26.0 → 0.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/algorand.js +4 -1
- package/package.json +1 -1
package/algorand.js
CHANGED
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
// client hands them to the signer) and to write addresses, without an Algorand SDK.
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
|
|
5
|
-
// x402 network ids and the USDC asset (ASA) on each.
|
|
5
|
+
// x402 network ids and the USDC asset (ASA) on each. Sellers name a network by the whole genesis hash or by its
|
|
6
|
+
// CAIP-2 id (the first 32 characters; the only form @x402/avm 2.29.0 takes), so both are listed.
|
|
6
7
|
export const ALGORAND_USDC = {
|
|
7
8
|
"algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=": 31566704n, // mainnet
|
|
9
|
+
"algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73k": 31566704n,
|
|
8
10
|
"algorand:SGO1GKSzyE7IEPItTxCByw9x8FmnrCDexi9/cOUJOiI=": 10458941n, // testnet
|
|
11
|
+
"algorand:SGO1GKSzyE7IEPItTxCByw9x8FmnrCDe": 10458941n,
|
|
9
12
|
};
|
|
10
13
|
|
|
11
14
|
// A small msgpack decoder: maps, strings, binary, integers (as BigInt above 2^53), booleans, nil, arrays.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "presign-guard-wallet",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.1",
|
|
4
4
|
"description": "A wallet for AI agents (viem on EVM chains, Solana and Algorand) that asks presign-guard ($0.01 over x402) before every transaction, contract write and signature, refuses to sign red, and keeps to per-token spending limits, with approval from your phone over the limit (Telegram, or signed in your own wallet over AC2).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|