Withdraw with two factors.Effortlessly.

Twofold is the vault that asks for your key and a secret only your machine knows, without a server in between.

$ twofold status --vault <VAULT> --depositor <YOUR_ADDRESS>
read-only
Built in your browser, nothing is sent. Run it locally.
    CA TBA
      • Commit 1 ETH to 0x…B0b0 for my next withdrawal
      • Check my record before I sign
      • Prepare the withdrawal and the next record
      record saved locally
      Record · nonce 0

      commitment0x0be1…40ab

      stored at.twofold/records

      Built on four ideas.

      Every rule is enforced by the contract and covered by unit, fuzz or invariant tests.

      ◎

      Local-first

      Salts come from your OS random generator and stay in a folder on your disk, optionally encrypted.

      ⇢

      Two steps

      Announce, then reveal. A leaked key cannot swap the next commitment.

      ✎

      Any signer

      The CLI only prints calldata. Sign with cast, viem, ethers or a hardware wallet.

      ◷

      Read-only status

      Check commitment, nonce, balance and any pending announcement before you spend gas.

      Three commands.

      One binary turns a record into exact calldata. It never signs and never sends.

      01

      commit

      $ twofold commit --depositor 0xYOU \
        --recipient 0x…B0b0 --amount 1e18 …

      Draws 32 random bytes, saves the record, prints the commitment.

      02

      encode-withdraw

      $ twofold encode-withdraw \
        --record r.json --next-amount 2e18 …

      Prints the announcement and the reveal, writes the next record.

      03

      status

      $ twofold status --record r.json
      ready_to_withdraw: yes

      Read-only RPC. Flags stale records before they cost gas.

      Before you deposit.

      Short answers. The README has the long ones.

      What happens if I lose my record file?

      The funds behind that commitment cannot be withdrawn. There is no admin and no reset. Back up the .twofold folder offline.

      Is it safe that the salt is public after a withdrawal?

      Yes. A salt is single-use and bound to your address, nonce, vault and chain. Once mined, the vault has moved to the next commitment.

      Why two transactions per withdrawal?

      The announcement fixes the next commitment before the salt is public, so someone holding a leaked key cannot copy the salt and install their own.

      Does the CLI send transactions or hold keys?

      No. It prints calldata and makes read-only RPC calls for status. You sign with the tool you trust.

      Is the contract audited?

      Not yet. It is an MVP with unit, fuzz and invariant tests. Use testnets or amounts you are prepared to lose.

      Which networks are supported?

      Any EVM chain with the Cancun upgrade. The target is Robinhood Chain.

      What is the token on Pons?

      A separate asset from the vault. The vault works without it, and nothing on this page is financial advice.

      Your withdrawals,under two factors.

      Build it, run the tests and read the contract before you deposit.