chore(contracts): testnet deploy scripts and demo-agent seeding - #58
Open
moises-cisneros wants to merge 6 commits into
Open
moises-cisneros wants to merge 6 commits into
moises-cisneros wants to merge 6 commits into
Conversation
Deploying puls3 with
|
| Latest commit: |
9d65e75
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://7358a83d.puls3-4lw.pages.dev |
| Branch Preview URL: | https://chore-deploy-testnet.puls3-4lw.pages.dev |
…istry with the set_agent_uri TTL fix, ADR-0003 and the .env.example gitignore exception
Four bugs kept the seed from registering any agent: invoke() added '--' and every call added another, so the CLI rejected the arguments; metadata values were plain text while the contract takes Bytes, which the CLI reads as hex, so they are now hex-encoded at seed time; on Windows, python prints CRLF, so URIs carried a trailing carriage return; and a python3 Store alias passed 'command -v' without running. Also capture only the agent id on success and keep CLI logs for errors.
Contract CD5QZOKGRBV35C5SDT6PG7S72XGG4BHQAC2L56YLNBJDUL4LDMTXFIJJ, deployed from the current main (includes the set_agent_uri TTL fix) and seeded with the 7 demo agents.
contracts/README.md points to it; it was missing because .gitignore ignored every .env.example until #59.
Tooling configuration unrelated to #15.
Contributor
|
@moises-cisneros ran the deploy and the seed live on testnet, as asked. The deploy script worked first time; the seed script had four bugs that kept it from registering any agent. Fixed and pushed on top of your branch (no force-push), then re-ran everything from a clean state. Commits added
Evidence (all run live on testnet)Deploy: Seed, first run: Seed, second run (no duplicates): Reading the registry back with Secret scan on the added commits ( Acceptance criteria of #15, now
The PR body still says "Deploy/seed reales NO corridos"; you may want to update it to Follow-ups (not blocking this PR)
|
This was referenced Sep 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #15
Summary
scripts/deploy-testnet.sh: build + deploy del Identity Registry a testnet, escribecontracts/deployments/testnet.jsone imprime la URL del explorer.scripts/seed-demo-agents.sh: registra 7 demo agents desdedemo-agents.json, idempotente víaagent_id_by_uri(skipea con mensaje, reportatotal_agents).contracts/README.md+.env.exampleraíz (solo identidad/red, cero seeds).Acceptance criteria
testnet.json(pendiente: requiere identidad testnet fondeada)testnet.jsonopens on a testnet explorer (pendiente del deploy en vivo).env.exampleis provided.agent_id_by_uri+ skip; pendiente de probar en vivo)Verification evidence