Crosshatch (@CrosshatchDev) profile picture

Tools for agents – https://nitter.cf/t.co/7gAk56DMCU

New York City
Joined May 2020
Photo by Crosshatch (@CrosshatchDev)Photo by Crosshatch (@CrosshatchDev)
Guys i found something ⬇️ Vibecoders, Software Engineers, Teach your agent to code like you: traits.sh by @CrosshatchDev You're welcome!
1
4
52
And even more than that, I am excited about the opportunities that pipes extensibility will bring to traits specs. Being able to mix in deterministic extracted data with decision model's understanding of natural language.
I sometimes accidentally create traits for things that could be deterministic lints. We need a system by which traits can identify such cases and forgo decision model usage / fall back to static analysis. Also, shoutout to @MattiaManzati for his excellent work on effect/tsgo.
2
1
20
1,163
Crosshatch retweeted
Before getting traits checked, Opus 5.5 built with native JS (.map, .filter().length, Math.max(...spread), .padEnd) With Traits, it realized this is an Effect app and actually used Effect utilities. Still work to do, but the journey toward desloppification is underway 🤏
1
2
23
3,571
Currently revamping the @CrosshatchDev x402 merchant endpoint DX. Thoughts?
1
10
384
The @CrosshatchDev docs now sport a built-in MCP server. This was extremely easy to enable thanks to Vocs and the Vocs @alchemy_run resource (currently in Alchemy's main, soon to be published). Alchemy's framework support is getting stronger by the minute.
2
14
625
X25519 encryption across persistence boundaries. Encrypt with the public key. Serialize the private key as PKCS#8, hydrate it later, and decrypt the envelope. @CrosshatchDev
Effectful X25519 encryption. Create a keypair. Encrypt with the public key Decrypt with the private key. @CrosshatchDev
2
19
1,458
Effectful X25519 encryption. Create a keypair. Encrypt with the public key Decrypt with the private key. @CrosshatchDev
1
2
2
50
4,958
Crosshatch retweeted
WIP universal Effect Layer to provide x402 payment capability across all known networks and assets. Here's what I'm currently thinking for the DX. Thoughts? @CrosshatchDev
1
23
987
Crosshatch retweeted
Implementing the signed socket counterpart. Encode a payload, sign it with the provided Ed25519 keypair and include the signer and signature in the protocol negotiation. The socket server can yield* the tag to access the verified payload. @CrosshatchDev
Crosshatch now provides effectful RFC 9421 signing. The HttpSignature.layerClient computes the request body digest, and adds Signature and Signature-Input automatically. @CrosshatchDev
1
32
2,482
Crosshatch retweeted
Crosshatch now provides effectful RFC 9421 signing. The HttpSignature.layerClient computes the request body digest, and adds Signature and Signature-Input automatically. @CrosshatchDev
1
1
1
43
4,508
Crosshatch now models EURC, JPYC, and XSGD as known assets, including their chain-specific contracts, decimals, and supported payment schemes. The merchant specifies the currency and chain-specific destinations. Crosshatch handles the token details. @CrosshatchDev
1
2
15
819
Effect-first x402 means that we can inject a "payer" whose key material lives in another environment. A wallet, browser extension, separate process, RPC client, or even another device connected over bluetooth! @CrosshatchDev
1
13
710
Inject Crosshatch's x402 `HttpClient` into any Effect. On 402s, it decodes payment required, generates the payment payload, and retries exactly once. @CrosshatchDev
3
1
22
1,005
Working with stablecoins should not require merchants to reason about token contract addresses or decimals. Crosshatch abstracts over the noise. One asset identifier. One numeric amount. Chain- and token-specific precision handled automatically. @CrosshatchDev
1
1
6
401
RT @harrysolovay: Crosshatch now ships with a local mock facilitator: • x402-compliant responses • optional log export for local OTEL setu…
1
25
The simplicity of chain-agnostic types when expressed with Effect schemas: Validation, static inference of template literal types, nominal branding... All from one tiny definition. @CrosshatchDev
2
25
1,027
A powerful feature of x402 v2: There is an extension system, which lets merchants treat clients as if they are RPC endpoints… The merchant can ask for additional computations/data alongside payment. @CrosshatchDev ensures this extension system is strongly-typed, end-to-end.
4
17
816
Effect layers are an ideal way to model chain-agnostic payment capability. ERC-3009 payment payload creation requires an EIP-155 signer. Our EIP-155 signer layer requires a mnemonic. The composability is striking. @CrosshatchDev
1
23
683
High-frequency x402 micropayments over Effect RPC with @CrosshatchDev
1
20
767