IDplayground@agntn/curves v0.2.3

Any curve.
Solved in your tab.

The page imports @agntn/curves and runs the tool executors right here. Type in the curve from the challenge, ask for an order, ask for k. Wrong point? It tells you it's off the curve. Got a Polkadot signature? Paste it and watch it verify. Every state is a link you can send to a friend who's stuck on the same puzzle.

Tools
12
same as MCP, Pi and OMP
Operations
91
any curve, secp256k1, BIP340, P-256, P-384, P-521, brainpoolP256r1, brainpoolP384r1, brainpoolP512r1, sr25519, Ed25519 and Ed448
Network
0 calls
the library never asks

NoteNothing leaves the tab, but whatever you type lands in the address bar and in any link you copy. A private key as a scalar works fine here. It's still a private key in a URL.

Callcurves_compute10 / 91MCP · Pi · OMP · AI SDK

Operation

The smallest k with k times the base equal to the target. Give it lo and hi, and field size doesn't matter.

Input

A chip loads one of the landing's curves with its base and target. Points go in as x,y. Try a point off the curve and see what it says.

CLI

$ curves compute log --a 2 --b 2 --p 17 --point '{"x":"5","y":"1"}' --other '{"x":"16","y":"4"}'

Tool

{
  "name": "curves_compute",
  "arguments": {
    "operation": "log",
    "a": "2",
    "b": "2",
    "p": "17",
    "point": {
      "x": "5",
      "y": "1"
    },
    "other": {
      "x": "16",
      "y": "4"
    }
  }
}
every state is a link
logcurves_compute("log")answered
Compute / log

k = 13

The smallest k with k times the base equal to the target. Give it lo and hi, and field size doesn't matter.

order
19
scalar
13
computed in this tab · under 1 mssame executor as curves mcp