Repository navigation
One Chronobox per wallet, at one address on every network - #50
Open
juliaklaue wants to merge 11 commits into
Open
juliaklaue wants to merge 11 commits into
juliaklaue wants to merge 11 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
A wallet has one Chronobox: the Safe at index 0 of the Chronobox salt, the same address on every network. The setup makes it or goes on with it, and a wallet whose Chronobox is set up goes to it instead. The start page lists that one (and those the wallet watches as a guardian), without "Create another". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PBnfGy2dpC9crUKQ5e2hds
From the review: a wallet that made several Chronoboxes before the one-per- wallet rule still finds them all from the chain, so no money is out of sight; only new ones are made at the one address. When the list shows Chronoboxes of other networks, or watched ones, but none of its own here, the start page offers "Create my Chronobox on <network>". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PBnfGy2dpC9crUKQ5e2hds
The start page reads one address, the wallet's Chronobox, instead of walking up to 100 indexes. discover() goes, and the browser's list counts index 0 only. A Chronobox at another index from before is not found any more; this is an alpha. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PBnfGy2dpC9crUKQ5e2hds
…or into the setup One read decides it. The list of what this browser remembers is left only for when the wallet's network does not answer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PBnfGy2dpC9crUKQ5e2hds
The account list reads every account's Chronobox from the local fork and names its state: no Chronobox, setup not finished, empty, what is locked in it, and how many withdrawals wait. With the Safe kind, it is the Safe of each account. The anvil accounts are in one list (src/dev-accounts.ts) that the test wallet and the bar share. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PBnfGy2dpC9crUKQ5e2hds
… setup The start page of a connected wallet shows its Chronobox right there, or the setup when it has none: one read decides it, and the address of the page stays "/". A finished setup leads back to it. Any Chronobox can still be opened by its address, from "Open a Chronobox" in the footer (#/open), for a guardian or another network. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PBnfGy2dpC9crUKQ5e2hds
The setup is the start page of a wallet without a Chronobox, so Close led back to itself and did nothing. Later steps keep Back. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PBnfGy2dpC9crUKQ5e2hds
A note names the connected wallet and the network, so that someone whose Chronobox is on another account sees it at once. It points to switching the account in the wallet, or opening a Chronobox by its address. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PBnfGy2dpC9crUKQ5e2hds
The link sits in the menu of the connected wallet, next to Disconnect, and closes the menu. The note above the setup links to the same page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PBnfGy2dpC9crUKQ5e2hds
The primary button of the top comes back at the end of the page, above the link that opens any Chronobox by its address. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PBnfGy2dpC9crUKQ5e2hds
juliaklaue
force-pushed
the
one-box-per-wallet
branch
from
November 27, 2026 13:39
3b4c768 to
7dd791c
Compare
juliaklaue
marked this pull request as ready for review
November 27, 2026 13:39
… elsewhere A first visit, from the landing page or not, goes into the setup without it. It shows when this browser remembers a Chronobox of another wallet, or of this wallet on another network: then the person may be on the wrong account. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PBnfGy2dpC9crUKQ5e2hds
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.
A wallet has one Chronobox: the Safe at index 0 of the Chronobox salt, at the same address on every network.
The address
The Safe proxy factory (Safe 1.4.1,
createProxyWithNonce) makes it from the 1 of 1 setup of the wallet (owners[wallet], threshold 1, no module, guard or handler) and the salt nonceuint256(keccak256("zodiac-timebox:v1")). So the address depends only on the wallet address.chronoboxOf(wallet)insrc/lib/chronobox.tsreturns it. Example:0x3C44…93BC→0x9825C31C59bfC49b6C20108dcF0E5cd93DE23806.What changes
/. The setup has no Close on its first step any more (it led back to itself).#/open): for a guardian, another network, or a Chronobox handed over to this wallet.src/dev-accounts.ts.discover()is gone). A Chronobox at another index from before is no longer found: this is an alpha.State
npm run check,npm test(82) andnpm run buildpass. Checked on a local fork: the start page with a wallet that has its Chronobox, and#/newgoing to it.codex review --base origin/main, three rounds. Dismissed on purpose, as this is an alpha and reads stay at one per wallet: older Chronoboxes at another index are no longer found; Chronoboxes watched as a guardian, or handed over to this wallet (a wallet change or a recovery), are not on the start page and are opened by their address. For a recovery that is fine: open it by address, take the money out, and put it into the new wallet's own Chronobox.🤖 Generated with Claude Code
https://claude.ai/code/session_01PBnfGy2dpC9crUKQ5e2hds