From efca029f934f1af8e732237fca286170319ed98e Mon Sep 17 00:00:00 2001 From: caitlynfteco Date: Fri, 9 May 2025 16:55:27 -0400 Subject: [PATCH 1/6] docs: added RandAO to additional technologies --- languages/strings/en.json | 3 + package-lock.json | 1047 +++++++++++++++-- package.json | 3 +- src/.vitepress/locales.js | 14 + src/guides/snacks/RandAO/index.md | 35 + src/guides/snacks/RandAO/requesting-random.md | 111 ++ src/public/ja/llms-full.txt | 2 +- src/public/ja/llms.txt | 2 +- src/public/llms-full.txt | 28 +- src/public/llms.txt | 36 +- src/public/zh/llms-full.txt | 2 +- src/public/zh/llms.txt | 2 +- yarn.lock | 196 ++- 13 files changed, 1332 insertions(+), 149 deletions(-) create mode 100644 src/guides/snacks/RandAO/index.md create mode 100644 src/guides/snacks/RandAO/requesting-random.md diff --git a/languages/strings/en.json b/languages/strings/en.json index 7635dc7..29e6501 100644 --- a/languages/strings/en.json +++ b/languages/strings/en.json @@ -67,6 +67,9 @@ "guides-0rbit": "0rbit (HTTP)", "guides-0rbit-get-request": "GET Requests", "guides-0rbit-post-request": "POST Requests", + "guides-randao": "RandAO (RNG)", + "guides-randao-get-request": "Random Number Requests", + "guides-randao-post-request": "Number Verification", "guides-betteridea": "BetterIdea", "guides-dev-cli": "Developer CLI", "mainnet": "Mainnet", diff --git a/package-lock.json b/package-lock.json index b2ae4fc..9c9520f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,8 @@ "version": "0.0.2", "license": "Apache-2.0", "dependencies": { - "@betteridea/codecell": "^1.4.3" + "@betteridea/codecell": "^1.4.3", + "globby": "^14.1.0" }, "devDependencies": { "@commitlint/cli": "^19.4.0", @@ -178,7 +179,9 @@ } }, "node_modules/@algolia/client-common": { - "version": "5.20.2", + "version": "5.24.0", + "resolved": "https://registry.npmjs.org/@algolia/client-common/-/client-common-5.24.0.tgz", + "integrity": "sha512-p8K6tiXQTebRBxbrzWIfGCvfkT+Umml+2lzI92acZjHsvl6KYH6igOfVstKqXJRei9pvRzEEvVDNDLXDVleGTA==", "dev": true, "license": "MIT", "peer": true, @@ -210,15 +213,17 @@ } }, "node_modules/@algolia/client-search": { - "version": "5.20.2", + "version": "5.24.0", + "resolved": "https://registry.npmjs.org/@algolia/client-search/-/client-search-5.24.0.tgz", + "integrity": "sha512-k+nuciQuq7WERNNE+hsx3DX636zIy+9R4xdtvW3PANT2a2BDGOv3fv2mta8+QUMcVTVcGe/Mo3QCb4pc1HNoxA==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@algolia/client-common": "5.20.2", - "@algolia/requester-browser-xhr": "5.20.2", - "@algolia/requester-fetch": "5.20.2", - "@algolia/requester-node-http": "5.20.2" + "@algolia/client-common": "5.24.0", + "@algolia/requester-browser-xhr": "5.24.0", + "@algolia/requester-fetch": "5.24.0", + "@algolia/requester-node-http": "5.24.0" }, "engines": { "node": ">= 14.0.0" @@ -242,12 +247,14 @@ } }, "node_modules/@algolia/requester-browser-xhr": { - "version": "5.20.2", + "version": "5.24.0", + "resolved": "https://registry.npmjs.org/@algolia/requester-browser-xhr/-/requester-browser-xhr-5.24.0.tgz", + "integrity": "sha512-B2Gc+iSxct1WSza5CF6AgfNgmLvVb61d5bqmIWUZixtJIhyAC6lSQZuF+nvt+lmKhQwuY2gYjGGClil8onQvKQ==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@algolia/client-common": "5.20.2" + "@algolia/client-common": "5.24.0" }, "engines": { "node": ">= 14.0.0" @@ -261,24 +268,28 @@ "license": "MIT" }, "node_modules/@algolia/requester-fetch": { - "version": "5.20.2", + "version": "5.24.0", + "resolved": "https://registry.npmjs.org/@algolia/requester-fetch/-/requester-fetch-5.24.0.tgz", + "integrity": "sha512-6E5+hliqGc5w8ZbyTAQ+C3IGLZ/GiX623Jl2bgHA974RPyFWzVSj4rKqkboUAxQmrFY7Z02ybJWVZS5OhPQocA==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@algolia/client-common": "5.20.2" + "@algolia/client-common": "5.24.0" }, "engines": { "node": ">= 14.0.0" } }, "node_modules/@algolia/requester-node-http": { - "version": "5.20.2", + "version": "5.24.0", + "resolved": "https://registry.npmjs.org/@algolia/requester-node-http/-/requester-node-http-5.24.0.tgz", + "integrity": "sha512-zM+nnqZpiQj20PyAh6uvgdSz+hD7Rj7UfAZwizqNP+bLvcbGXZwABERobuilkCQqyDBBH4uv0yqIcPRl8dSBEg==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@algolia/client-common": "5.20.2" + "@algolia/client-common": "5.24.0" }, "engines": { "node": ">= 14.0.0" @@ -337,18 +348,6 @@ "yarn": "please-use-npm" } }, - "node_modules/@ar.io/sdk/node_modules/axios": { - "version": "1.7.8", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.8.tgz", - "integrity": "sha512-Uu0wb7KNqK2t5K+YQyVCLM76prD5sRFjKHbJYCP1J7JFGEQ6nN7HWn9+04LAeiJ3ji54lgS/gZCH1oxyrf1SPw==", - "dev": true, - "license": "MIT", - "dependencies": { - "follow-redirects": "^1.15.6", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - }, "node_modules/@ar.io/sdk/node_modules/ramda": { "version": "0.30.1", "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.30.1.tgz", @@ -868,6 +867,7 @@ "version": "0.6.8", "resolved": "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz", "integrity": "sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w==", + "deprecated": "Unmaintained. The codebase for this package was moved to https://github.com/cosmos/ics23 but then the JS implementation was removed in https://github.com/cosmos/ics23/pull/353. Please consult the maintainers of https://github.com/cosmos for further assistance.", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -1154,6 +1154,74 @@ } } }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/@esbuild/darwin-arm64": { "version": "0.21.5", "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", @@ -1171,6 +1239,312 @@ "node": ">=12" } }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/@ethersproject/abstract-provider": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz", @@ -2022,6 +2396,41 @@ "url": "https://paulmillr.com/funding/" } }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/@permaweb/ao-scheduler-utils": { "version": "0.0.23", "resolved": "https://registry.npmjs.org/@permaweb/ao-scheduler-utils/-/ao-scheduler-utils-0.0.23.tgz", @@ -2091,83 +2500,335 @@ "dev": true, "license": "BSD-3-Clause" }, - "node_modules/@protobufjs/fetch": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", + "node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@randlabs/communication-bridge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@randlabs/communication-bridge/-/communication-bridge-1.0.1.tgz", + "integrity": "sha512-CzS0U8IFfXNK7QaJFE4pjbxDGfPjbXBEsEaCn9FN15F+ouSAEUQkva3Gl66hrkBZOGexKFEWMwUHIDKpZ2hfVg==", + "dev": true, + "license": "Apache-2.0", + "optional": true + }, + "node_modules/@randlabs/myalgo-connect": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@randlabs/myalgo-connect/-/myalgo-connect-1.4.2.tgz", + "integrity": "sha512-K9hEyUi7G8tqOp7kWIALJLVbGCByhilcy6123WfcorxWwiE1sbQupPyIU5f3YdQK6wMjBsyTWiLW52ZBMp7sXA==", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "@randlabs/communication-bridge": "1.0.1" + } + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.34.6.tgz", + "integrity": "sha512-+GcCXtOQoWuC7hhX1P00LqjjIiS/iOouHXhMdiDSnq/1DGTox4SpUvO52Xm+div6+106r+TcvOeo/cxvyEyTgg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.34.6.tgz", + "integrity": "sha512-E8+2qCIjciYUnCa1AiVF1BkRgqIGW9KzJeesQqVfyRITGQN+dFuoivO0hnro1DjT74wXLRZ7QF8MIbz+luGaJA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.34.6.tgz", + "integrity": "sha512-z9Ib+OzqN3DZEjX7PDQMHEhtF+t6Mi2z/ueChQPLS/qUMKY7Ybn5A2ggFoKRNRh1q1T03YTQfBTQCJZiepESAg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.34.6.tgz", + "integrity": "sha512-PShKVY4u0FDAR7jskyFIYVyHEPCPnIQY8s5OcXkdU8mz3Y7eXDJPdyM/ZWjkYdR2m0izD9HHWA8sGcXn+Qrsyg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.34.6.tgz", + "integrity": "sha512-YSwyOqlDAdKqs0iKuqvRHLN4SrD2TiswfoLfvYXseKbL47ht1grQpq46MSiQAx6rQEN8o8URtpXARCpqabqxGQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.34.6.tgz", + "integrity": "sha512-HEP4CgPAY1RxXwwL5sPFv6BBM3tVeLnshF03HMhJYCNc6kvSqBgTMmsEjb72RkZBAWIqiPUyF1JpEBv5XT9wKQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.34.6.tgz", + "integrity": "sha512-88fSzjC5xeH9S2Vg3rPgXJULkHcLYMkh8faix8DX4h4TIAL65ekwuQMA/g2CXq8W+NJC43V6fUpYZNjaX3+IIg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.34.6.tgz", + "integrity": "sha512-wM4ztnutBqYFyvNeR7Av+reWI/enK9tDOTKNF+6Kk2Q96k9bwhDDOlnCUNRPvromlVXo04riSliMBs/Z7RteEg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.34.6.tgz", + "integrity": "sha512-9RyprECbRa9zEjXLtvvshhw4CMrRa3K+0wcp3KME0zmBe1ILmvcVHnypZ/aIDXpRyfhSYSuN4EPdCCj5Du8FIA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.34.6.tgz", + "integrity": "sha512-qTmklhCTyaJSB05S+iSovfo++EwnIEZxHkzv5dep4qoszUMX5Ca4WM4zAVUMbfdviLgCSQOu5oU8YoGk1s6M9Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loongarch64-gnu": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.34.6.tgz", + "integrity": "sha512-4Qmkaps9yqmpjY5pvpkfOerYgKNUGzQpFxV6rnS7c/JfYbDSU0y6WpbbredB5cCpLFGJEqYX40WUmxMkwhWCjw==", + "cpu": [ + "loong64" + ], "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@protobufjs/float": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==", + "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.34.6.tgz", + "integrity": "sha512-Zsrtux3PuaxuBTX/zHdLaFmcofWGzaWW1scwLU3ZbW/X+hSsFbz9wDIp6XvnT7pzYRl9MezWqEqKy7ssmDEnuQ==", + "cpu": [ + "ppc64" + ], "dev": true, - "license": "BSD-3-Clause" + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@protobufjs/inquire": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==", + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.34.6.tgz", + "integrity": "sha512-aK+Zp+CRM55iPrlyKiU3/zyhgzWBxLVrw2mwiQSYJRobCURb781+XstzvA8Gkjg/hbdQFuDw44aUOxVQFycrAg==", + "cpu": [ + "riscv64" + ], "dev": true, - "license": "BSD-3-Clause" + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@protobufjs/path": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==", + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.34.6.tgz", + "integrity": "sha512-WoKLVrY9ogmaYPXwTH326+ErlCIgMmsoRSx6bO+l68YgJnlOXhygDYSZe/qbUJCSiCiZAQ+tKm88NcWuUXqOzw==", + "cpu": [ + "s390x" + ], "dev": true, - "license": "BSD-3-Clause" + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@protobufjs/pool": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==", + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.34.6.tgz", + "integrity": "sha512-Sht4aFvmA4ToHd2vFzwMFaQCiYm2lDFho5rPcvPBT5pCdC+GwHG6CMch4GQfmWTQ1SwRKS0dhDYb54khSrjDWw==", + "cpu": [ + "x64" + ], "dev": true, - "license": "BSD-3-Clause" + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@protobufjs/utf8": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==", + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.34.6.tgz", + "integrity": "sha512-zmmpOQh8vXc2QITsnCiODCDGXFC8LMi64+/oPpPx5qz3pqv0s6x46ps4xoycfUiVZps5PFn1gksZzo4RGTKT+A==", + "cpu": [ + "x64" + ], "dev": true, - "license": "BSD-3-Clause" + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@randlabs/communication-bridge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@randlabs/communication-bridge/-/communication-bridge-1.0.1.tgz", - "integrity": "sha512-CzS0U8IFfXNK7QaJFE4pjbxDGfPjbXBEsEaCn9FN15F+ouSAEUQkva3Gl66hrkBZOGexKFEWMwUHIDKpZ2hfVg==", + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.34.6.tgz", + "integrity": "sha512-3/q1qUsO/tLqGBaD4uXsB6coVGB3usxw3qyeVb59aArCgedSF66MPdgRStUd7vbZOsko/CgVaY5fo2vkvPLWiA==", + "cpu": [ + "arm64" + ], "dev": true, - "license": "Apache-2.0", - "optional": true + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] }, - "node_modules/@randlabs/myalgo-connect": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/@randlabs/myalgo-connect/-/myalgo-connect-1.4.2.tgz", - "integrity": "sha512-K9hEyUi7G8tqOp7kWIALJLVbGCByhilcy6123WfcorxWwiE1sbQupPyIU5f3YdQK6wMjBsyTWiLW52ZBMp7sXA==", + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.34.6.tgz", + "integrity": "sha512-oLHxuyywc6efdKVTxvc0135zPrRdtYVjtVD5GUm55I3ODxhU/PwkQFD97z16Xzxa1Fz0AEe4W/2hzRtd+IfpOA==", + "cpu": [ + "ia32" + ], "dev": true, - "license": "Apache-2.0", + "license": "MIT", "optional": true, - "dependencies": { - "@randlabs/communication-bridge": "1.0.1" - } + "os": [ + "win32" + ] }, - "node_modules/@rollup/rollup-darwin-arm64": { + "node_modules/@rollup/rollup-win32-x64-msvc": { "version": "4.34.6", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.34.6.tgz", - "integrity": "sha512-z9Ib+OzqN3DZEjX7PDQMHEhtF+t6Mi2z/ueChQPLS/qUMKY7Ybn5A2ggFoKRNRh1q1T03YTQfBTQCJZiepESAg==", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.34.6.tgz", + "integrity": "sha512-0PVwmgzZ8+TZ9oGBmdZoQVXflbvuwzN/HRclujpl4N/q3i+y0lqLw8n1bXA8ru3sApDjlmONaNAuYr38y1Kr9w==", "cpu": [ - "arm64" + "x64" ], "dev": true, "license": "MIT", "optional": true, "os": [ - "darwin" + "win32" ] }, "node_modules/@scure/base": { @@ -2256,6 +2917,18 @@ "shiki": "1.12.1" } }, + "node_modules/@sindresorhus/merge-streams": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz", + "integrity": "sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@solana/buffer-layout": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz", @@ -3076,9 +3749,9 @@ "license": "MIT" }, "node_modules/axios": { - "version": "1.7.9", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.9.tgz", - "integrity": "sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==", + "version": "1.7.8", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.8.tgz", + "integrity": "sha512-Uu0wb7KNqK2t5K+YQyVCLM76prD5sRFjKHbJYCP1J7JFGEQ6nN7HWn9+04LAeiJ3ji54lgS/gZCH1oxyrf1SPw==", "dev": true, "license": "MIT", "dependencies": { @@ -3275,7 +3948,6 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", - "dev": true, "license": "MIT", "dependencies": { "fill-range": "^7.1.1" @@ -4362,6 +5034,22 @@ "dev": true, "license": "MIT" }, + "node_modules/fast-glob": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.8" + }, + "engines": { + "node": ">=8.6.0" + } + }, "node_modules/fast-stable-stringify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fast-stable-stringify/-/fast-stable-stringify-1.0.0.tgz", @@ -4369,6 +5057,15 @@ "dev": true, "license": "MIT" }, + "node_modules/fastq": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz", + "integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==", + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, "node_modules/fecha": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz", @@ -4398,7 +5095,6 @@ "version": "7.1.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", - "dev": true, "license": "MIT", "dependencies": { "to-regex-range": "^5.0.1" @@ -4493,6 +5189,21 @@ "node": ">=12" } }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -4596,6 +5307,18 @@ "node": ">=16" } }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/global-directory": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/global-directory/-/global-directory-4.0.1.tgz", @@ -4629,6 +5352,38 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/globby": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-14.1.0.tgz", + "integrity": "sha512-0Ia46fDOaT7k4og1PDW4YbodWWr3scS2vAr2lTbsplOt2WkKp0vQbkI9wKis/T5LV/dqPjO3bpS/z6GTJB82LA==", + "license": "MIT", + "dependencies": { + "@sindresorhus/merge-streams": "^2.1.0", + "fast-glob": "^3.3.3", + "ignore": "^7.0.3", + "path-type": "^6.0.0", + "slash": "^5.1.0", + "unicorn-magic": "^0.3.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globby/node_modules/unicorn-magic": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", + "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/goober": { "version": "2.1.14", "resolved": "https://registry.npmjs.org/goober/-/goober-2.1.14.tgz", @@ -4828,6 +5583,15 @@ ], "license": "BSD-3-Clause" }, + "node_modules/ignore": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.4.tgz", + "integrity": "sha512-gJzzk+PQNznz8ysRrC0aOkBNVRBDtE1n53IqyqEf3PXrYwomFs5q4pGMizBMJF+ykh03insJ27hB8gSrD2Hn8A==", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, "node_modules/import-fresh": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", @@ -4896,6 +5660,15 @@ "dev": true, "license": "MIT" }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-fullwidth-code-point": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", @@ -4909,11 +5682,22 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, "license": "MIT", "engines": { "node": ">=0.12.0" @@ -5837,11 +6621,19 @@ "dev": true, "license": "MIT" }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, "node_modules/micromatch": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", - "dev": true, "license": "MIT", "dependencies": { "braces": "^3.0.3", @@ -6230,6 +7022,18 @@ "node": ">=8" } }, + "node_modules/path-type": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-6.0.0.tgz", + "integrity": "sha512-Vj7sf++t5pBD637NSfkxpHSMfWaeig5+DKWLhcqIYx6mWQz5hdJTGDVMQiJcw1ZYkhs7AazKDGpRVji1LJCZUQ==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/perfect-debounce": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-1.0.0.tgz", @@ -6264,7 +7068,6 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true, "license": "MIT", "engines": { "node": ">=8.6" @@ -6474,6 +7277,26 @@ "node": ">=18" } }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, "node_modules/ramda": { "version": "0.29.1", "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.29.1.tgz", @@ -6648,6 +7471,16 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/reusify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", + "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, "node_modules/rfdc": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz", @@ -6761,6 +7594,29 @@ } } }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -6816,6 +7672,8 @@ }, "node_modules/search-insights": { "version": "2.17.3", + "resolved": "https://registry.npmjs.org/search-insights/-/search-insights-2.17.3.tgz", + "integrity": "sha512-RQPdCYTa8A68uM2jwxoY842xDhvx3E5LFL1LxvxCNMev4o5mLuokczhzjAgGwUZBAmOKZknArSxLKmXtIi2AxQ==", "dev": true, "license": "MIT", "peer": true @@ -7024,6 +7882,18 @@ "dev": true, "license": "MIT" }, + "node_modules/slash": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", + "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "license": "MIT", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/slice-ansi": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", @@ -7378,7 +8248,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, "license": "MIT", "dependencies": { "is-number": "^7.0.0" @@ -7459,7 +8328,9 @@ "license": "MIT" }, "node_modules/typescript": { - "version": "5.7.3", + "version": "5.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", + "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", "dev": true, "license": "Apache-2.0", "peer": true, diff --git a/package.json b/package.json index 7a5fcc7..2abc5ee 100644 --- a/package.json +++ b/package.json @@ -32,5 +32,6 @@ "dependencies": { "@betteridea/codecell": "^1.4.3", "globby": "^14.1.0" - } + }, + "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" } diff --git a/src/.vitepress/locales.js b/src/.vitepress/locales.js index 2a44e60..6120723 100644 --- a/src/.vitepress/locales.js +++ b/src/.vitepress/locales.js @@ -418,6 +418,20 @@ export const localeConfig = (langCode) => ({ }, ], }, + { + text: get_i18n_str(langCode, "guides-randao"), + link: get_i18n_link(langCode, "/guides/snacks/RandAO/index"), + collapsed: true, + items: [ + { + text: get_i18n_str(langCode, "guides-randao-get-request"), + link: get_i18n_link( + langCode, + "/guides/snacks/RandAO/get-request", + ), + }, + ], + }, ], }, ], diff --git a/src/guides/snacks/RandAO/index.md b/src/guides/snacks/RandAO/index.md new file mode 100644 index 0000000..0de1a88 --- /dev/null +++ b/src/guides/snacks/RandAO/index.md @@ -0,0 +1,35 @@ +--- +prev: + text: "Bots and Games" + link: "/guides/aoconnect/monitoring-cron" +next: + text: "Random Number Requests" + link: "/guides/snacks/RandAO/requesting-random" +--- + +# RandAO 🎲 + +RandAO is a decentralized random number generator (RNG) built on `ao`. It provides verifiable, tamper-resistant randomness for decentralized applications through a token-backed protocol. + +## Overview + +The RandAO module enables your `ao` process to: + +1. **Request Random Values**: Generate secure random numbers by sending RandAO tokens to the randomness protocol +2. **Track Request Status**: Monitor the status of your randomness requests through a callback system +3. **Custom Provider Pools**: Optionally specify your own list of randomness providers + +## Key Features + +- **Pure Lua Implementation**: Built specifically for the AO platform with no external dependencies +- **Token-Backed Security**: Uses RandAO tokens to ensure secure and reliable random number generation +- **Asynchronous Operations**: Non-blocking requests with status tracking +- **Provider Flexibility**: Use the default provider pool or specify your own trusted providers +- **Quick Resolution**: Response time of <10 seconds, improving with network updates as mainnet approaches + +## Next Steps + +- [Random Number Requests](./get-request.md): Learn how to request and receive random numbers +- [Request Verification](./post-request.md): Understand how to verify and track your random number requests + +> Learn more about interacting with the RandAO protocol through the [developer docs](https://randaolabs.github.io/ao-process-clients/) diff --git a/src/guides/snacks/RandAO/requesting-random.md b/src/guides/snacks/RandAO/requesting-random.md new file mode 100644 index 0000000..4a17028 --- /dev/null +++ b/src/guides/snacks/RandAO/requesting-random.md @@ -0,0 +1,111 @@ +--- +prev: + text: "RandAO" + link: "/guides/snacks/RandAO/index" +--- + +# Random Number Requests + +In this tutorial, we'll learn how to request random numbers from the RandAO protocol. + +## Prerequisites + +- Some RandAO tokens (100 base units per request) + - To get some tokens shoot our team a DM on Discord (https://discord.gg/sustb26z) or check out the faucet (coming soon) + +## Install AO Package Manager + +Install apm, the ao package manager so we can add a helper module to make it easier to work with RandAO. + +```lua +.load-blueprint apm +``` + +## Install Random package + +Random is a module that provides functions to work with the RandAO protocol. + +https://apm_betteridea.g8way.io/pkg?id=@randao/random + +```lua +apm.install('@randao/random') +``` + +## Setting Up + +Create a new file named `random-request.lua` in your project directory: + +```bash +touch random-request.lua +``` + +Add the following code to initialize the RandAO module and set up a handler to process random number responses: + +```lua +-- Import required modules +json = require('json') +local randomModule = require('@randao/random')(json) + +-- Handler for random number responses +Handlers.add( + "RandomResponse", + Handlers.utils.hasMatchingTag("Action", "RandomResponse"), + function(msg) + -- Process the random module's response + local callbackId, entropy = randomModule.processRandomResponse(msg.From, msg.Data) + print("Random Number Received!") + print("CallbackId: " .. tostring(callbackId)) + print("Entropy: " .. tostring(entropy)) + + -- Do something with the random number here! + end +) +``` + +## Making Random Number Requests + +### Using the Default Provider Pool + +The simplest way to request a random number is using the default provider pool: + +```lua +-- Generate a unique callback ID +local callbackId = randomModule.generateUUID() + +-- Request a random number +randomModule.requestRandom(callbackId) +``` + +### Using a Custom Provider Pool + +For more control, you can specify your own list of providers: + +```lua +-- Define your provider list +local providerList = { + "XUo8jZtUDBFLtp5okR12oLrqIZ4ewNlTpqnqmriihJE", + "vJnpGjZrOetokWpgV50-xBxanCGP1N9Bjtj-kH1E_Ac", + "oFmKGpZpBB8TKI3qMyaJduRqe9mJ3kb98lS9xnfsFTA" +} + +-- Set the provider list +randomModule.setProviderList(providerList) + +-- Generate a unique callback ID +local callbackId = randomModule.generateUUID() + +-- Request random from your provider pool +randomModule.requestRandomFromProviders(callbackId) +``` + +## Important Notes + +- Each random number request costs **100 RandAO token base units** +- The typical response time is currently **Sub 10 seconds and increasing weekly as mainnet approaches** +- Always store your `callbackId` to track your request status +- Use the [Request Verification](./post-request.md) guide to check request status +- Check out the example projects on our [github](https://github.com/RandAOLabs/Random-Module/tree/main/examples) to get some inspiration for your next project + +## Next Steps + +Learn how to verify and track the status of your random number requests in the [Request Verification](./post-request.md) guide. diff --git a/src/public/ja/llms-full.txt b/src/public/ja/llms-full.txt index c9f1b03..240b80b 100644 --- a/src/public/ja/llms-full.txt +++ b/src/public/ja/llms-full.txt @@ -1,6 +1,6 @@ # JA Technical Documentation -Generated: 2025-03-13T13:13:46.534Z +Generated: 2025-05-09T12:58:00.491Z This file contains technical reference documentation and release notes. diff --git a/src/public/ja/llms.txt b/src/public/ja/llms.txt index d07b842..f1c7238 100644 --- a/src/public/ja/llms.txt +++ b/src/public/ja/llms.txt @@ -1,6 +1,6 @@ # JA Documentation for LLMs -Generated: 2025-03-13T13:13:46.534Z +Generated: 2025-05-09T12:58:00.491Z This file contains structured reference documentation, release notes, and a comprehensive directory of all documentation pages. diff --git a/src/public/llms-full.txt b/src/public/llms-full.txt index 4170621..c054afa 100644 --- a/src/public/llms-full.txt +++ b/src/public/llms-full.txt @@ -1,6 +1,6 @@ # EN Technical Documentation -Generated: 2025-03-13T13:13:46.517Z +Generated: 2025-05-09T12:58:00.174Z This file contains technical reference documentation and release notes. @@ -513,7 +513,7 @@ end) For persistent processing, set up a handler: ```lua -Handlers.add("process-ardrive", +Handlers.add("ProcessArDriveFiles", { Tags = { ["App-Name"] = "ArDrive-App" } }, function(msg) print(msg.Tags["App-Name"]) @@ -799,7 +799,24 @@ Read detailed information about the various features and integrations of the IDE ## glossary Source: https://cookbook_ao.arweave.net/references/glossary.html - + + + + ## Handlers (Version 0.0.5) Source: https://cookbook_ao.arweave.net/references/handlers.html @@ -915,7 +932,7 @@ Appends a new handler to the end of the handlers list. ### `Handlers.once(name, pattern, handler)` -Only runs once when the pattern is matched. Equivalent to setting `maxRuns = 1`. +Only runs once when the pattern is matched. Equivalent to setting `maxRuns = 1`. This is the underlying implementation used by the `Receive` function in the messaging system. ### `Handlers.prepend(name, pattern, handler)` @@ -1493,10 +1510,11 @@ Handlers.add("status-handler", ### `Receive` (Capital R): Blocking Pattern Matcher -Blocks execution until any matching message arrives from any sender. +Blocks execution until any matching message arrives from any sender. Under the hood, this is implemented using `Handlers.once`, making it a one-time pattern matcher that automatically removes itself after execution. - Waits for any message matching the pattern, regardless of origin - Use for synchronous message processing flows or event listening +- Automatically removes the handler after first match (using `Handlers.once` internally) ``` Process (A) diff --git a/src/public/llms.txt b/src/public/llms.txt index 711dcfe..38f588c 100644 --- a/src/public/llms.txt +++ b/src/public/llms.txt @@ -1,6 +1,6 @@ # EN Documentation for LLMs -Generated: 2025-03-13T13:13:46.518Z +Generated: 2025-05-09T12:58:00.175Z This file contains structured reference documentation, release notes, and a comprehensive directory of all documentation pages. @@ -80,6 +80,11 @@ This file contains structured reference documentation, release notes, and a comp - [First GET Request](https://cookbook_ao.arweave.net/guides/snacks/0rbit/get-request.html) - [First POST Request](https://cookbook_ao.arweave.net/guides/snacks/0rbit/post-request.html) +#### RandAO + +- [RandAO 🎲](https://cookbook_ao.arweave.net/guides/snacks/RandAO/index.html) +- [Random Number Requests](https://cookbook_ao.arweave.net/guides/snacks/RandAO/get-request.html) + - [Getting started with SQLite](https://cookbook_ao.arweave.net/guides/snacks/sqlite.html) - [Using WeaveDrive](https://cookbook_ao.arweave.net/guides/snacks/weavedrive.html) @@ -346,7 +351,21 @@ Source: https://cookbook_ao.arweave.net/references/editor-setup.html ### glossary Source: https://cookbook_ao.arweave.net/references/glossary.html - + ### Handlers (Version 0.0.5) Source: https://cookbook_ao.arweave.net/references/handlers.html @@ -484,17 +503,6 @@ Creates a handler function that automatically replies with a fixed response. A w **Simple String Response Example:** ``` -``` -## Receiving Messages - -### `Receive` (Capital R): Blocking Pattern Matcher - -Blocks execution until any matching message arrives from any sender. - -- Waits for any message matching the pattern, regardless of origin -- Use for synchronous message processing flows or event listening -``` - ### ao Token and Subledger Specification @@ -640,5 +648,5 @@ Changes: # Summary Total files processed: 18 -Total documentation pages: 96 +Total documentation pages: 98 This documentation is focused on technical references and release notes, prioritizing accuracy and relevance for LLM processing. diff --git a/src/public/zh/llms-full.txt b/src/public/zh/llms-full.txt index 39f5da4..d129f24 100644 --- a/src/public/zh/llms-full.txt +++ b/src/public/zh/llms-full.txt @@ -1,6 +1,6 @@ # ZH Technical Documentation -Generated: 2025-03-13T13:13:46.530Z +Generated: 2025-05-09T12:58:00.200Z This file contains technical reference documentation and release notes. diff --git a/src/public/zh/llms.txt b/src/public/zh/llms.txt index 94923fe..a529dd8 100644 --- a/src/public/zh/llms.txt +++ b/src/public/zh/llms.txt @@ -1,6 +1,6 @@ # ZH Documentation for LLMs -Generated: 2025-03-13T13:13:46.530Z +Generated: 2025-05-09T12:58:00.200Z This file contains structured reference documentation, release notes, and a comprehensive directory of all documentation pages. diff --git a/yarn.lock b/yarn.lock index 4259b53..79b5633 100644 --- a/yarn.lock +++ b/yarn.lock @@ -80,8 +80,10 @@ "@algolia/requester-common" "4.22.1" "@algolia/transporter" "4.22.1" -"@algolia/client-common@5.20.2": - version "5.20.2" +"@algolia/client-common@5.24.0": + version "5.24.0" + resolved "https://registry.npmjs.org/@algolia/client-common/-/client-common-5.24.0.tgz" + integrity sha512-p8K6tiXQTebRBxbrzWIfGCvfkT+Umml+2lzI92acZjHsvl6KYH6igOfVstKqXJRei9pvRzEEvVDNDLXDVleGTA== "@algolia/client-personalization@4.22.1": version "4.22.1" @@ -93,12 +95,14 @@ "@algolia/transporter" "4.22.1" "@algolia/client-search@>= 4.9.1 < 6": - version "5.20.2" + version "5.24.0" + resolved "https://registry.npmjs.org/@algolia/client-search/-/client-search-5.24.0.tgz" + integrity sha512-k+nuciQuq7WERNNE+hsx3DX636zIy+9R4xdtvW3PANT2a2BDGOv3fv2mta8+QUMcVTVcGe/Mo3QCb4pc1HNoxA== dependencies: - "@algolia/client-common" "5.20.2" - "@algolia/requester-browser-xhr" "5.20.2" - "@algolia/requester-fetch" "5.20.2" - "@algolia/requester-node-http" "5.20.2" + "@algolia/client-common" "5.24.0" + "@algolia/requester-browser-xhr" "5.24.0" + "@algolia/requester-fetch" "5.24.0" + "@algolia/requester-node-http" "5.24.0" "@algolia/client-search@4.22.1": version "4.22.1" @@ -128,20 +132,24 @@ dependencies: "@algolia/requester-common" "4.22.1" -"@algolia/requester-browser-xhr@5.20.2": - version "5.20.2" +"@algolia/requester-browser-xhr@5.24.0": + version "5.24.0" + resolved "https://registry.npmjs.org/@algolia/requester-browser-xhr/-/requester-browser-xhr-5.24.0.tgz" + integrity sha512-B2Gc+iSxct1WSza5CF6AgfNgmLvVb61d5bqmIWUZixtJIhyAC6lSQZuF+nvt+lmKhQwuY2gYjGGClil8onQvKQ== dependencies: - "@algolia/client-common" "5.20.2" + "@algolia/client-common" "5.24.0" "@algolia/requester-common@4.22.1": version "4.22.1" resolved "https://registry.npmjs.org/@algolia/requester-common/-/requester-common-4.22.1.tgz" integrity sha512-dgvhSAtg2MJnR+BxrIFqlLtkLlVVhas9HgYKMk2Uxiy5m6/8HZBL40JVAMb2LovoPFs9I/EWIoFVjOrFwzn5Qg== -"@algolia/requester-fetch@5.20.2": - version "5.20.2" +"@algolia/requester-fetch@5.24.0": + version "5.24.0" + resolved "https://registry.npmjs.org/@algolia/requester-fetch/-/requester-fetch-5.24.0.tgz" + integrity sha512-6E5+hliqGc5w8ZbyTAQ+C3IGLZ/GiX623Jl2bgHA974RPyFWzVSj4rKqkboUAxQmrFY7Z02ybJWVZS5OhPQocA== dependencies: - "@algolia/client-common" "5.20.2" + "@algolia/client-common" "5.24.0" "@algolia/requester-node-http@4.22.1": version "4.22.1" @@ -150,10 +158,12 @@ dependencies: "@algolia/requester-common" "4.22.1" -"@algolia/requester-node-http@5.20.2": - version "5.20.2" +"@algolia/requester-node-http@5.24.0": + version "5.24.0" + resolved "https://registry.npmjs.org/@algolia/requester-node-http/-/requester-node-http-5.24.0.tgz" + integrity sha512-zM+nnqZpiQj20PyAh6uvgdSz+hD7Rj7UfAZwizqNP+bLvcbGXZwABERobuilkCQqyDBBH4uv0yqIcPRl8dSBEg== dependencies: - "@algolia/client-common" "5.20.2" + "@algolia/client-common" "5.24.0" "@algolia/transporter@4.22.1": version "4.22.1" @@ -609,10 +619,10 @@ "@docsearch/css" "3.6.1" algoliasearch "^4.19.1" -"@esbuild/darwin-arm64@0.21.5": +"@esbuild/linux-x64@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz" - integrity sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ== + resolved "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz" + integrity sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ== "@ethersproject/abstract-provider@^5.7.0": version "5.7.0" @@ -1061,6 +1071,27 @@ resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.6.0.tgz" integrity sha512-YUULf0Uk4/mAA89w+k3+yUYh6NrEvxZa5T6SY3wlMvE2chHkxFUUIDI8/XW1QSC357iA5pSnqt7XEhvFOqmDyQ== +"@nodelib/fs.scandir@2.1.5": + version "2.1.5" + resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz" + integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== + dependencies: + "@nodelib/fs.stat" "2.0.5" + run-parallel "^1.1.9" + +"@nodelib/fs.stat@^2.0.2", "@nodelib/fs.stat@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz" + integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== + +"@nodelib/fs.walk@^1.2.3": + version "1.2.8" + resolved "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz" + integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== + dependencies: + "@nodelib/fs.scandir" "2.1.5" + fastq "^1.6.0" + "@permaweb/ao-scheduler-utils@~0.0.16", "@permaweb/ao-scheduler-utils@~0.0.20": version "0.0.23" resolved "https://registry.npmjs.org/@permaweb/ao-scheduler-utils/-/ao-scheduler-utils-0.0.23.tgz" @@ -1163,10 +1194,10 @@ dependencies: "@randlabs/communication-bridge" "1.0.1" -"@rollup/rollup-darwin-arm64@4.34.6": +"@rollup/rollup-linux-x64-gnu@4.34.6": version "4.34.6" - resolved "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.34.6.tgz" - integrity sha512-z9Ib+OzqN3DZEjX7PDQMHEhtF+t6Mi2z/ueChQPLS/qUMKY7Ybn5A2ggFoKRNRh1q1T03YTQfBTQCJZiepESAg== + resolved "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.34.6.tgz" + integrity sha512-Sht4aFvmA4ToHd2vFzwMFaQCiYm2lDFho5rPcvPBT5pCdC+GwHG6CMch4GQfmWTQ1SwRKS0dhDYb54khSrjDWw== "@scure/base@1.2.1": version "1.2.1" @@ -1195,6 +1226,11 @@ dependencies: shiki "1.12.1" +"@sindresorhus/merge-streams@^2.1.0": + version "2.3.0" + resolved "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz" + integrity sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg== + "@solana/buffer-layout@^4.0.1": version "4.0.1" resolved "https://registry.npmjs.org/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz" @@ -1703,10 +1739,10 @@ axios@^0.27.2: follow-redirects "^1.14.9" form-data "^4.0.0" -axios@^1, axios@^1.6.0, "axios@0.x || 1.x": - version "1.7.9" - resolved "https://registry.npmjs.org/axios/-/axios-1.7.9.tgz" - integrity sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw== +axios@^1, axios@^1.6.0, "axios@0.x || 1.x", axios@1.7.8: + version "1.7.8" + resolved "https://registry.npmjs.org/axios/-/axios-1.7.8.tgz" + integrity sha512-Uu0wb7KNqK2t5K+YQyVCLM76prD5sRFjKHbJYCP1J7JFGEQ6nN7HWn9+04LAeiJ3ji54lgS/gZCH1oxyrf1SPw== dependencies: follow-redirects "^1.15.6" form-data "^4.0.0" @@ -1721,15 +1757,6 @@ axios@1.4.0: form-data "^4.0.0" proxy-from-env "^1.1.0" -axios@1.7.8: - version "1.7.8" - resolved "https://registry.npmjs.org/axios/-/axios-1.7.8.tgz" - integrity sha512-Uu0wb7KNqK2t5K+YQyVCLM76prD5sRFjKHbJYCP1J7JFGEQ6nN7HWn9+04LAeiJ3ji54lgS/gZCH1oxyrf1SPw== - dependencies: - follow-redirects "^1.15.6" - form-data "^4.0.0" - proxy-from-env "^1.1.0" - base-x@^3.0.2: version "3.0.10" resolved "https://registry.npmjs.org/base-x/-/base-x-3.0.10.tgz" @@ -2419,11 +2446,29 @@ fast-deep-equal@^3.1.1: resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== +fast-glob@^3.3.3: + version "3.3.3" + resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz" + integrity sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.8" + fast-stable-stringify@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/fast-stable-stringify/-/fast-stable-stringify-1.0.0.tgz" integrity sha512-wpYMUmFu5f00Sm0cj2pfivpmawLZ0NKdviQ4w9zJeR8JVtOpOxHmLaJuj0vxvGqMJQWyP/COUkF75/57OKyRag== +fastq@^1.6.0: + version "1.19.1" + resolved "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz" + integrity sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ== + dependencies: + reusify "^1.0.4" + fecha@^4.2.0: version "4.2.3" resolved "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz" @@ -2546,6 +2591,13 @@ git-raw-commits@^4.0.0: meow "^12.0.1" split2 "^4.0.0" +glob-parent@^5.1.2: + version "5.1.2" + resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz" + integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== + dependencies: + is-glob "^4.0.1" + global-directory@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/global-directory/-/global-directory-4.0.1.tgz" @@ -2561,6 +2613,18 @@ globalthis@^1.0.1: define-properties "^1.2.1" gopd "^1.0.1" +globby@^14.1.0: + version "14.1.0" + resolved "https://registry.npmjs.org/globby/-/globby-14.1.0.tgz" + integrity sha512-0Ia46fDOaT7k4og1PDW4YbodWWr3scS2vAr2lTbsplOt2WkKp0vQbkI9wKis/T5LV/dqPjO3bpS/z6GTJB82LA== + dependencies: + "@sindresorhus/merge-streams" "^2.1.0" + fast-glob "^3.3.3" + ignore "^7.0.3" + path-type "^6.0.0" + slash "^5.1.0" + unicorn-magic "^0.3.0" + goober@^2.1.10: version "2.1.14" resolved "https://registry.npmjs.org/goober/-/goober-2.1.14.tgz" @@ -2673,6 +2737,11 @@ ieee754@^1.2.1: resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== +ignore@^7.0.3: + version "7.0.4" + resolved "https://registry.npmjs.org/ignore/-/ignore-7.0.4.tgz" + integrity sha512-gJzzk+PQNznz8ysRrC0aOkBNVRBDtE1n53IqyqEf3PXrYwomFs5q4pGMizBMJF+ykh03insJ27hB8gSrD2Hn8A== + import-fresh@^3.3.0: version "3.3.0" resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" @@ -2711,6 +2780,11 @@ is-arrayish@^0.3.1: resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz" integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ== +is-extglob@^2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz" + integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== + is-fullwidth-code-point@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz" @@ -2728,6 +2802,13 @@ is-fullwidth-code-point@^5.0.0: dependencies: get-east-asian-width "^1.0.0" +is-glob@^4.0.1: + version "4.0.3" + resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" + is-number@^7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz" @@ -3104,7 +3185,12 @@ merge-stream@^2.0.0: resolved "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz" integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== -micromatch@~4.0.7: +merge2@^1.3.0: + version "1.4.1" + resolved "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz" + integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== + +micromatch@^4.0.8, micromatch@~4.0.7: version "4.0.8" resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz" integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== @@ -3312,6 +3398,11 @@ path-key@^4.0.0: resolved "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz" integrity sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ== +path-type@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/path-type/-/path-type-6.0.0.tgz" + integrity sha512-Vj7sf++t5pBD637NSfkxpHSMfWaeig5+DKWLhcqIYx6mWQz5hdJTGDVMQiJcw1ZYkhs7AazKDGpRVji1LJCZUQ== + perfect-debounce@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-1.0.0.tgz" @@ -3438,6 +3529,11 @@ queue-lit@^3.0.0: resolved "https://registry.npmjs.org/queue-lit/-/queue-lit-3.0.0.tgz" integrity sha512-iyVL2X5G58kICVGLW/nseYmdHxBoAp2Gav16H23NPtIllyEJ+UheHlYZqBjO+lJHRYoZRSrX7chH8tMrH9MB/A== +queue-microtask@^1.2.2: + version "1.2.3" + resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz" + integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== + ramda@^0.29.1: version "0.29.1" resolved "https://registry.npmjs.org/ramda/-/ramda-0.29.1.tgz" @@ -3544,6 +3640,11 @@ restore-cursor@^5.0.0: onetime "^7.0.0" signal-exit "^4.1.0" +reusify@^1.0.4: + version "1.1.0" + resolved "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz" + integrity sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw== + rfdc@^1.4.1: version "1.4.1" resolved "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz" @@ -3601,6 +3702,13 @@ rpc-websockets@^9.0.2: bufferutil "^4.0.1" utf-8-validate "^5.0.2" +run-parallel@^1.1.9: + version "1.2.0" + resolved "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz" + integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== + dependencies: + queue-microtask "^1.2.2" + safe-buffer@^5.0.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" @@ -3630,6 +3738,8 @@ scrypt-js@3.0.1: "search-insights@>= 1 < 3": version "2.17.3" + resolved "https://registry.npmjs.org/search-insights/-/search-insights-2.17.3.tgz" + integrity sha512-RQPdCYTa8A68uM2jwxoY842xDhvx3E5LFL1LxvxCNMev4o5mLuokczhzjAgGwUZBAmOKZknArSxLKmXtIi2AxQ== secp256k1@^5.0.0: version "5.0.1" @@ -3735,6 +3845,11 @@ sisteransi@^1.0.5: resolved "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz" integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== +slash@^5.1.0: + version "5.1.0" + resolved "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz" + integrity sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg== + slice-ansi@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz" @@ -3988,7 +4103,9 @@ typeforce@^1.11.5: integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== typescript@*, typescript@>=4, typescript@>=4.9.5: - version "5.7.3" + version "5.8.3" + resolved "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz" + integrity sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ== undici-types@~6.13.0: version "6.13.0" @@ -4012,6 +4129,11 @@ unicorn-magic@^0.1.0: resolved "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz" integrity sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ== +unicorn-magic@^0.3.0: + version "0.3.0" + resolved "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz" + integrity sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA== + universalify@^0.2.0: version "0.2.0" resolved "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz" From 411c04b37a6c7c1de6b950528d974f0e1f953993 Mon Sep 17 00:00:00 2001 From: caitlynfteco Date: Fri, 13 Jun 2025 09:44:42 -0400 Subject: [PATCH 2/6] docs: updated randao documentation --- src/guides/snacks/RandAO/index.md | 7 +++++-- src/guides/snacks/RandAO/requesting-random.md | 19 +++++++------------ src/public/ja/llms-full.txt | 2 +- src/public/ja/llms.txt | 2 +- src/public/llms-full.txt | 4 ++-- src/public/llms.txt | 4 ++-- src/public/zh/llms-full.txt | 2 +- src/public/zh/llms.txt | 2 +- 8 files changed, 20 insertions(+), 22 deletions(-) diff --git a/src/guides/snacks/RandAO/index.md b/src/guides/snacks/RandAO/index.md index 0de1a88..e0c0526 100644 --- a/src/guides/snacks/RandAO/index.md +++ b/src/guides/snacks/RandAO/index.md @@ -27,9 +27,12 @@ The RandAO module enables your `ao` process to: - **Provider Flexibility**: Use the default provider pool or specify your own trusted providers - **Quick Resolution**: Response time of <10 seconds, improving with network updates as mainnet approaches +## Example Projects + +Check out our [example projects](https://github.com/RandAOLabs/Random-Module/tree/main/examples) on GitHub to get some inspiration for your next project. + ## Next Steps - [Random Number Requests](./get-request.md): Learn how to request and receive random numbers -- [Request Verification](./post-request.md): Understand how to verify and track your random number requests -> Learn more about interacting with the RandAO protocol through the [developer docs](https://randaolabs.github.io/ao-process-clients/) +> Learn more about interacting with the RandAO protocol through the [developer docs](https://github.com/RandAOLabs/Random-Module) or our [provider docs](https://providers_randao.arweave.net/) diff --git a/src/guides/snacks/RandAO/requesting-random.md b/src/guides/snacks/RandAO/requesting-random.md index 4a17028..261d91a 100644 --- a/src/guides/snacks/RandAO/requesting-random.md +++ b/src/guides/snacks/RandAO/requesting-random.md @@ -10,8 +10,8 @@ In this tutorial, we'll learn how to request random numbers from the RandAO prot ## Prerequisites -- Some RandAO tokens (100 base units per request) - - To get some tokens shoot our team a DM on Discord (https://discord.gg/sustb26z) or check out the faucet (coming soon) +- Some RandAO tokens (1 Random costs 1 Token) +- To get some tokens head over to the [faucet](https://providers_randao.arweave.net/faucet) ## Install AO Package Manager @@ -21,7 +21,7 @@ Install apm, the ao package manager so we can add a helper module to make it eas .load-blueprint apm ``` -## Install Random package +## APM Install Random package Random is a module that provides functions to work with the RandAO protocol. @@ -31,7 +31,7 @@ https://apm_betteridea.g8way.io/pkg?id=@randao/random apm.install('@randao/random') ``` -## Setting Up +## Manual Set Up Create a new file named `random-request.lua` in your project directory: @@ -100,12 +100,7 @@ randomModule.requestRandomFromProviders(callbackId) ## Important Notes -- Each random number request costs **100 RandAO token base units** -- The typical response time is currently **Sub 10 seconds and increasing weekly as mainnet approaches** -- Always store your `callbackId` to track your request status -- Use the [Request Verification](./post-request.md) guide to check request status +- Each random number request costs **1 RNG Token** +- The typical response time is currently **Sub 5 seconds and decreasing weekly as mainnet approaches** +- Always store your `callbackId` to track your request status and to use the value once returned - Check out the example projects on our [github](https://github.com/RandAOLabs/Random-Module/tree/main/examples) to get some inspiration for your next project - -## Next Steps - -Learn how to verify and track the status of your random number requests in the [Request Verification](./post-request.md) guide. diff --git a/src/public/ja/llms-full.txt b/src/public/ja/llms-full.txt index 240b80b..01cab07 100644 --- a/src/public/ja/llms-full.txt +++ b/src/public/ja/llms-full.txt @@ -1,6 +1,6 @@ # JA Technical Documentation -Generated: 2025-05-09T12:58:00.491Z +Generated: 2025-06-10T20:08:36.574Z This file contains technical reference documentation and release notes. diff --git a/src/public/ja/llms.txt b/src/public/ja/llms.txt index f1c7238..a944672 100644 --- a/src/public/ja/llms.txt +++ b/src/public/ja/llms.txt @@ -1,6 +1,6 @@ # JA Documentation for LLMs -Generated: 2025-05-09T12:58:00.491Z +Generated: 2025-06-10T20:08:36.574Z This file contains structured reference documentation, release notes, and a comprehensive directory of all documentation pages. diff --git a/src/public/llms-full.txt b/src/public/llms-full.txt index c054afa..3dca8d2 100644 --- a/src/public/llms-full.txt +++ b/src/public/llms-full.txt @@ -1,6 +1,6 @@ # EN Technical Documentation -Generated: 2025-05-09T12:58:00.174Z +Generated: 2025-06-10T20:08:36.528Z This file contains technical reference documentation and release notes. @@ -1914,7 +1914,7 @@ Source: https://cookbook_ao.arweave.net/releasenotes/aos-2_0_0.html ## Install instructions for AOS 2.0.0 ```shell -npm i -g https://get_ao.g8way.io +npm i -g https://get_ao.arweave.net ``` > Use `.update` to update earlier aos processes. See the **note** below on what features are not supported on earlier processes. diff --git a/src/public/llms.txt b/src/public/llms.txt index 38f588c..9a0bd22 100644 --- a/src/public/llms.txt +++ b/src/public/llms.txt @@ -1,6 +1,6 @@ # EN Documentation for LLMs -Generated: 2025-05-09T12:58:00.175Z +Generated: 2025-06-10T20:08:36.529Z This file contains structured reference documentation, release notes, and a comprehensive directory of all documentation pages. @@ -83,7 +83,7 @@ This file contains structured reference documentation, release notes, and a comp #### RandAO - [RandAO 🎲](https://cookbook_ao.arweave.net/guides/snacks/RandAO/index.html) -- [Random Number Requests](https://cookbook_ao.arweave.net/guides/snacks/RandAO/get-request.html) +- [Random Number Requests](https://cookbook_ao.arweave.net/guides/snacks/RandAO/requesting-random.html) - [Getting started with SQLite](https://cookbook_ao.arweave.net/guides/snacks/sqlite.html) - [Using WeaveDrive](https://cookbook_ao.arweave.net/guides/snacks/weavedrive.html) diff --git a/src/public/zh/llms-full.txt b/src/public/zh/llms-full.txt index d129f24..2e9c28e 100644 --- a/src/public/zh/llms-full.txt +++ b/src/public/zh/llms-full.txt @@ -1,6 +1,6 @@ # ZH Technical Documentation -Generated: 2025-05-09T12:58:00.200Z +Generated: 2025-06-10T20:08:36.556Z This file contains technical reference documentation and release notes. diff --git a/src/public/zh/llms.txt b/src/public/zh/llms.txt index a529dd8..7f392fd 100644 --- a/src/public/zh/llms.txt +++ b/src/public/zh/llms.txt @@ -1,6 +1,6 @@ # ZH Documentation for LLMs -Generated: 2025-05-09T12:58:00.200Z +Generated: 2025-06-10T20:08:36.556Z This file contains structured reference documentation, release notes, and a comprehensive directory of all documentation pages. From 0e2b70da5112041fc831166d6a5eaa6e3ff8f74b Mon Sep 17 00:00:00 2001 From: caitlynfteco Date: Fri, 13 Jun 2025 09:46:01 -0400 Subject: [PATCH 3/6] docs: updated randao documentation --- languages/strings/en.json | 1 - 1 file changed, 1 deletion(-) diff --git a/languages/strings/en.json b/languages/strings/en.json index 29e6501..6594e16 100644 --- a/languages/strings/en.json +++ b/languages/strings/en.json @@ -69,7 +69,6 @@ "guides-0rbit-post-request": "POST Requests", "guides-randao": "RandAO (RNG)", "guides-randao-get-request": "Random Number Requests", - "guides-randao-post-request": "Number Verification", "guides-betteridea": "BetterIdea", "guides-dev-cli": "Developer CLI", "mainnet": "Mainnet", From e111b5416ccbc39524bcc2ff6d5dc3cd7ab94a44 Mon Sep 17 00:00:00 2001 From: caitlynfteco Date: Thu, 19 Jun 2025 19:36:48 -0400 Subject: [PATCH 4/6] pushing updates to prepayment --- src/guides/snacks/RandAO/requesting-random.md | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/src/guides/snacks/RandAO/requesting-random.md b/src/guides/snacks/RandAO/requesting-random.md index 261d91a..9c8edd5 100644 --- a/src/guides/snacks/RandAO/requesting-random.md +++ b/src/guides/snacks/RandAO/requesting-random.md @@ -98,6 +98,54 @@ local callbackId = randomModule.generateUUID() randomModule.requestRandomFromProviders(callbackId) ``` +### Prepay for Randomness Credits + +```lua +randomModule.prepayForRandom(units) +``` + +Sends a token transfer to the configured `RandomProcess` to pre-pay for a specified number of future random requests. + +- **Arguments**: + - `units` (number): Number of randomness units to purchase. +- **Behavior**: + - Computes `quantity = units * RandomCost` (on-chain value). + - Sends a `"Transfer"` action to `RandomProcess` with header `X-Prepayment = "true"`. + +--- + +### Redeem Random Credit + +```lua +randomModule.redeemRandomCredit(callbackId) +-- or +randomModule.redeemRandomCredit(callbackId, providerList) +``` + +Uses prepaid randomness credits to make a randomness request. + +- **Arguments**: + - `callbackId` (string): Unique identifier to correlate the response. + - `providerList` (optional, table of strings): If provided, limits entropy generation to this subset of providers. +- **Behavior**: + - If `providerList` is **nil**, sends `Redeem-Random-Credit` with only `CallbackId`. + - If provided, includes header `X-Providers = providerList`. + +**Examples**: +```lua +-- Redeem credit without specifying providers: +local tx1 = randomModule.redeemRandomCredit("cb-1234") + +-- Redeem credit using a custom provider list: +local providers = { + "ProviderA_ID", + "ProviderB_ID" +} +local tx2 = randomModule.redeemRandomCredit("cb-5678", providers) +``` + +--- + ## Important Notes - Each random number request costs **1 RNG Token** From 3e5dd9276aa9973209d7b9efab1b35ffa0cbedb8 Mon Sep 17 00:00:00 2001 From: caitlynfteco Date: Fri, 8 Aug 2025 09:27:40 -0400 Subject: [PATCH 5/6] docs: update title sections --- languages/strings/en.json | 2 +- src/.vitepress/locales.js | 7 +++++-- src/guides/snacks/RandAO/index.md | 2 +- src/guides/snacks/RandAO/requesting-random.md | 17 +++++++++-------- src/public/ja/llms-full.txt | 2 +- src/public/ja/llms.txt | 2 +- src/public/llms-full.txt | 2 +- src/public/llms.txt | 2 +- src/public/zh/llms-full.txt | 2 +- src/public/zh/llms.txt | 2 +- yarn.lock | 5 +++++ 11 files changed, 27 insertions(+), 18 deletions(-) diff --git a/languages/strings/en.json b/languages/strings/en.json index 6594e16..d6264ea 100644 --- a/languages/strings/en.json +++ b/languages/strings/en.json @@ -68,7 +68,7 @@ "guides-0rbit-get-request": "GET Requests", "guides-0rbit-post-request": "POST Requests", "guides-randao": "RandAO (RNG)", - "guides-randao-get-request": "Random Number Requests", + "guides-randao-requesting-random": "Random Number Requests", "guides-betteridea": "BetterIdea", "guides-dev-cli": "Developer CLI", "mainnet": "Mainnet", diff --git a/src/.vitepress/locales.js b/src/.vitepress/locales.js index 6120723..66cc6c1 100644 --- a/src/.vitepress/locales.js +++ b/src/.vitepress/locales.js @@ -424,10 +424,13 @@ export const localeConfig = (langCode) => ({ collapsed: true, items: [ { - text: get_i18n_str(langCode, "guides-randao-get-request"), + text: get_i18n_str( + langCode, + "guides-randao-requesting-random", + ), link: get_i18n_link( langCode, - "/guides/snacks/RandAO/get-request", + "/guides/snacks/RandAO/requesting-random", ), }, ], diff --git a/src/guides/snacks/RandAO/index.md b/src/guides/snacks/RandAO/index.md index e0c0526..76fbefd 100644 --- a/src/guides/snacks/RandAO/index.md +++ b/src/guides/snacks/RandAO/index.md @@ -33,6 +33,6 @@ Check out our [example projects](https://github.com/RandAOLabs/Random-Module/tre ## Next Steps -- [Random Number Requests](./get-request.md): Learn how to request and receive random numbers +- [Random Number Requests](./requesting-random.md): Learn how to request and receive random numbers > Learn more about interacting with the RandAO protocol through the [developer docs](https://github.com/RandAOLabs/Random-Module) or our [provider docs](https://providers_randao.arweave.net/) diff --git a/src/guides/snacks/RandAO/requesting-random.md b/src/guides/snacks/RandAO/requesting-random.md index 9c8edd5..cc2b274 100644 --- a/src/guides/snacks/RandAO/requesting-random.md +++ b/src/guides/snacks/RandAO/requesting-random.md @@ -66,7 +66,7 @@ Handlers.add( ### Using the Default Provider Pool -The simplest way to request a random number is using the default provider pool: +The simplest way to request a random number is using the default cycling pool: ```lua -- Generate a unique callback ID @@ -107,10 +107,10 @@ randomModule.prepayForRandom(units) Sends a token transfer to the configured `RandomProcess` to pre-pay for a specified number of future random requests. - **Arguments**: - - `units` (number): Number of randomness units to purchase. + - `units` (number): Number of randomness units to purchase. - **Behavior**: - - Computes `quantity = units * RandomCost` (on-chain value). - - Sends a `"Transfer"` action to `RandomProcess` with header `X-Prepayment = "true"`. + - Computes `quantity = units * RandomCost` (on-chain value). + - Sends a `"Transfer"` action to `RandomProcess` with header `X-Prepayment = "true"`. --- @@ -125,13 +125,14 @@ randomModule.redeemRandomCredit(callbackId, providerList) Uses prepaid randomness credits to make a randomness request. - **Arguments**: - - `callbackId` (string): Unique identifier to correlate the response. - - `providerList` (optional, table of strings): If provided, limits entropy generation to this subset of providers. + - `callbackId` (string): Unique identifier to correlate the response. + - `providerList` (optional, table of strings): If provided, limits entropy generation to this subset of providers. - **Behavior**: - - If `providerList` is **nil**, sends `Redeem-Random-Credit` with only `CallbackId`. - - If provided, includes header `X-Providers = providerList`. + - If `providerList` is **nil**, sends `Redeem-Random-Credit` with only `CallbackId`. + - If provided, includes header `X-Providers = providerList`. **Examples**: + ```lua -- Redeem credit without specifying providers: local tx1 = randomModule.redeemRandomCredit("cb-1234") diff --git a/src/public/ja/llms-full.txt b/src/public/ja/llms-full.txt index 01cab07..65af606 100644 --- a/src/public/ja/llms-full.txt +++ b/src/public/ja/llms-full.txt @@ -1,6 +1,6 @@ # JA Technical Documentation -Generated: 2025-06-10T20:08:36.574Z +Generated: 2025-08-07T15:04:11.531Z This file contains technical reference documentation and release notes. diff --git a/src/public/ja/llms.txt b/src/public/ja/llms.txt index a944672..37ab582 100644 --- a/src/public/ja/llms.txt +++ b/src/public/ja/llms.txt @@ -1,6 +1,6 @@ # JA Documentation for LLMs -Generated: 2025-06-10T20:08:36.574Z +Generated: 2025-08-07T15:04:11.531Z This file contains structured reference documentation, release notes, and a comprehensive directory of all documentation pages. diff --git a/src/public/llms-full.txt b/src/public/llms-full.txt index 3dca8d2..9ed9a75 100644 --- a/src/public/llms-full.txt +++ b/src/public/llms-full.txt @@ -1,6 +1,6 @@ # EN Technical Documentation -Generated: 2025-06-10T20:08:36.528Z +Generated: 2025-08-07T15:04:11.508Z This file contains technical reference documentation and release notes. diff --git a/src/public/llms.txt b/src/public/llms.txt index 9a0bd22..d2ef245 100644 --- a/src/public/llms.txt +++ b/src/public/llms.txt @@ -1,6 +1,6 @@ # EN Documentation for LLMs -Generated: 2025-06-10T20:08:36.529Z +Generated: 2025-08-07T15:04:11.508Z This file contains structured reference documentation, release notes, and a comprehensive directory of all documentation pages. diff --git a/src/public/zh/llms-full.txt b/src/public/zh/llms-full.txt index 2e9c28e..7cb8cb6 100644 --- a/src/public/zh/llms-full.txt +++ b/src/public/zh/llms-full.txt @@ -1,6 +1,6 @@ # ZH Technical Documentation -Generated: 2025-06-10T20:08:36.556Z +Generated: 2025-08-07T15:04:11.525Z This file contains technical reference documentation and release notes. diff --git a/src/public/zh/llms.txt b/src/public/zh/llms.txt index 7f392fd..fcf257d 100644 --- a/src/public/zh/llms.txt +++ b/src/public/zh/llms.txt @@ -1,6 +1,6 @@ # ZH Documentation for LLMs -Generated: 2025-06-10T20:08:36.556Z +Generated: 2025-08-07T15:04:11.525Z This file contains structured reference documentation, release notes, and a comprehensive directory of all documentation pages. diff --git a/yarn.lock b/yarn.lock index 79b5633..06b21b3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1199,6 +1199,11 @@ resolved "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.34.6.tgz" integrity sha512-Sht4aFvmA4ToHd2vFzwMFaQCiYm2lDFho5rPcvPBT5pCdC+GwHG6CMch4GQfmWTQ1SwRKS0dhDYb54khSrjDWw== +"@rollup/rollup-linux-x64-musl@4.34.6": + version "4.34.6" + resolved "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.34.6.tgz" + integrity sha512-zmmpOQh8vXc2QITsnCiODCDGXFC8LMi64+/oPpPx5qz3pqv0s6x46ps4xoycfUiVZps5PFn1gksZzo4RGTKT+A== + "@scure/base@1.2.1": version "1.2.1" resolved "https://registry.npmjs.org/@scure/base/-/base-1.2.1.tgz" From 34ff4ddea1dfa153e017882dd14a5b3527397513 Mon Sep 17 00:00:00 2001 From: caitlynfteco Date: Sun, 10 Aug 2025 14:09:41 -0400 Subject: [PATCH 6/6] docs: Randao PR cleaning pr --- package.json | 3 +-- src/public/ja/llms-full.txt | 2 +- src/public/ja/llms.txt | 2 +- src/public/llms-full.txt | 2 +- src/public/llms.txt | 8 ++------ src/public/zh/llms-full.txt | 2 +- src/public/zh/llms.txt | 2 +- 7 files changed, 8 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 2abc5ee..7a5fcc7 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,5 @@ "dependencies": { "@betteridea/codecell": "^1.4.3", "globby": "^14.1.0" - }, - "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" + } } diff --git a/src/public/ja/llms-full.txt b/src/public/ja/llms-full.txt index 65af606..553bb10 100644 --- a/src/public/ja/llms-full.txt +++ b/src/public/ja/llms-full.txt @@ -1,6 +1,6 @@ # JA Technical Documentation -Generated: 2025-08-07T15:04:11.531Z +Generated: 2025-08-10T17:21:06.546Z This file contains technical reference documentation and release notes. diff --git a/src/public/ja/llms.txt b/src/public/ja/llms.txt index 37ab582..c711655 100644 --- a/src/public/ja/llms.txt +++ b/src/public/ja/llms.txt @@ -1,6 +1,6 @@ # JA Documentation for LLMs -Generated: 2025-08-07T15:04:11.531Z +Generated: 2025-08-10T17:21:06.546Z This file contains structured reference documentation, release notes, and a comprehensive directory of all documentation pages. diff --git a/src/public/llms-full.txt b/src/public/llms-full.txt index 9ed9a75..e2bd619 100644 --- a/src/public/llms-full.txt +++ b/src/public/llms-full.txt @@ -1,6 +1,6 @@ # EN Technical Documentation -Generated: 2025-08-07T15:04:11.508Z +Generated: 2025-08-10T17:21:06.524Z This file contains technical reference documentation and release notes. diff --git a/src/public/llms.txt b/src/public/llms.txt index 2b83fec..9dff64f 100644 --- a/src/public/llms.txt +++ b/src/public/llms.txt @@ -1,6 +1,6 @@ # EN Documentation for LLMs -Generated: 2025-08-07T15:04:11.508Z +Generated: 2025-08-10T17:21:06.525Z This file contains structured reference documentation, release notes, and a comprehensive directory of all documentation pages. @@ -658,9 +658,5 @@ Changes: # Summary Total files processed: 18 -<<<<<<< HEAD -Total documentation pages: 98 -======= -Total documentation pages: 103 ->>>>>>> upstream/main +Total documentation pages: 105 This documentation is focused on technical references and release notes, prioritizing accuracy and relevance for LLM processing. diff --git a/src/public/zh/llms-full.txt b/src/public/zh/llms-full.txt index 7cb8cb6..e901afe 100644 --- a/src/public/zh/llms-full.txt +++ b/src/public/zh/llms-full.txt @@ -1,6 +1,6 @@ # ZH Technical Documentation -Generated: 2025-08-07T15:04:11.525Z +Generated: 2025-08-10T17:21:06.540Z This file contains technical reference documentation and release notes. diff --git a/src/public/zh/llms.txt b/src/public/zh/llms.txt index fcf257d..ecc721f 100644 --- a/src/public/zh/llms.txt +++ b/src/public/zh/llms.txt @@ -1,6 +1,6 @@ # ZH Documentation for LLMs -Generated: 2025-08-07T15:04:11.525Z +Generated: 2025-08-10T17:21:06.540Z This file contains structured reference documentation, release notes, and a comprehensive directory of all documentation pages.