Decentralization

47 posts

Decentralization

Decentralization

@CAWprotocol

Bergabung Nisan 2026
2 Mengikuti122 Pengikut
Decentralization me-retweet
CAWMmunity 🌙
CAWMmunity 🌙@CommunityCaw·
#CAW Testnet imminent 🌙 .
Eesti
34
60
204
21.9K
Decentralization
Decentralization@CAWprotocol·
— CawChallengeRelay #CAW replaced bulk replication with CawChallengeRelay — a contract that sits idle during normal ops. If someone disputes a submission on an archive chain, anyone calls relayChallenge(). The correct hash comes directly from CawActions. Fraud-proof on demand.
English
0
1
16
953
Decentralization
Decentralization@CAWprotocol·
— processActionSingle #CAW replaced the implicit self-call pattern in safeProcessActions with an explicit processActionSingle() entry point. require(msg.sender == address(this), 'Only self') — clear, auditable, no ambiguity about who can trigger it.
English
0
1
11
628
Decentralization
Decentralization@CAWprotocol·
Checkpoint 128→32 #CAW cut its checkpoint interval from 128 to 32 actions. More granular checkpoints = pack ~25 batches (~800 actions) into one LayerZero message. Worst case: 18KB per checkpoint. Typical case: ~2.4KB. Flexible, efficient cross-chain history.
English
0
2
12
779
Decentralization
Decentralization@CAWprotocol·
Packed Calldata #CAW's processActions now uses a custom binary format instead of ABI-encoded structs. Each action packs into tight consecutive bytes, deserialized with raw assembly. Result: ~50% less gas, ~60% less calldata. The validator does more with less.
English
2
4
19
1K
Decentralization
Decentralization@CAWprotocol·
—Wallet Auth With Timestamp Freshness To verify wallet ownership in #CAW,the signed message includes current Unix timestamp. The backend validates the message is under 5 minutes old AND not from the future. Reuse of stolen signatures is blocked. Clean anti-replay on the auth flow
English
0
2
17
1.2K
Decentralization me-retweet
Decentralization
Decentralization@CAWprotocol·
Session Nonce Anti-Replay on Revocation When a session key is revoked in #CAW, the sessionNonce increments on-chain, instantly invalidating prior delegation signatures. Even if unexpired, a leaked signature can’t be replayed. Anti-replay is enforced in the revocation flow. #caw
English
0
4
25
1.2K
Decentralization me-retweet
Decentralization
Decentralization@CAWprotocol·
ReentrancyGuard on Every Fund Movement #CAW's NFT marketplace applies nonReentrant to EVERY function that moves funds: buy, buyWithToken, placeBid, settleAuction, withdrawBid, reclaimBid, acceptOffer.Not one ETH or ERC-20 transfer without the guard. That's how it should be done.
English
1
4
18
1.2K
Decentralization me-retweet
Decentralization
Decentralization@CAWprotocol·
File Extension Derived from MIME Type In #CAW file uploads, the extension is NOT taken from the user-supplied filename. It’s derived from the MIME type via an internal map: MIME_TO_EXT['image/jpeg'] = '.jpg'. Unknown types get '.bin'. Classic path manipulation vector eliminated.
English
1
2
18
1.5K
Decentralization me-retweet
Decentralization
Decentralization@CAWprotocol·
In #CAW, your withdraw fee is locked at first deposit. If an operator raises fees later, you pay the lower of current vs locked: min(locked, current). Existing depositors can't be retroactively penalized. Fairness enforced by code
English
1
6
28
2.9K
Decentralization me-retweet
Decentralization
Decentralization@CAWprotocol·
— 0% Marketplace Fees Forever CawProfileMarketplace.sol NatSpec: "Trustless, feeless marketplace for CAW username NFTs. 0% fees forever — per the CAW manifesto." No fee receiver, no cut percentage, no owner switch to flip. The code delivers exactly what the manifesto promises.
English
0
5
21
971
Decentralization me-retweet
Decentralization
Decentralization@CAWprotocol·
— Pull Pattern for Bid Refunds In #CAW English auctions, outbid funds are NOT pushed back immediately. They go to pendingReturns[bidder][listingId] for the bidder to pull when ready. Classic pull pattern: eliminates the reentrancy vector on refunds entirely. Well thought out.
English
0
3
15
1.1K
Decentralization me-retweet
Decentralization
Decentralization@CAWprotocol·
Anti-Snipe in English Auctions #CAW's marketplace has anti-snipe protection: a bid placed in the last 10 minutes of an English auction automatically extends the deadline by 10 minutes. Plus a 5% minimum bid increment (500 bps). No last-second sniping advantage. Details matter.
English
0
2
19
1.4K
Decentralization me-retweet
Decentralization
Decentralization@CAWprotocol·
Tiered Rate Limiting by Auth Status #CAW applies different rate limits for authenticated vs unauth users. Uploads: 10/day without session, 30/15min with verified wallet. Short URLs: 10/day vs 60/15min. Session check uses Redis async. Fair model that incentivizes wallet connection
English
0
1
19
936
Decentralization
Decentralization@CAWprotocol·
Wallet Auth With Timestamp Freshness To verify wallet ownership in #CAW, the signed message includes current Unix timestamp. The backend validates the message is under 5 minutes old AND not from the future. Reuse of stolen signatures is blocked. Clean anti-replay on the auth flow
English
0
2
25
1.3K
Decentralization
Decentralization@CAWprotocol·
— CORS Configured from Env Variables #CAW's CORS config is not hardcoded. It reads from process.env.ALLOWED_ORIGINS, split by comma. In production, empty var = block all origins. Wildcard '*' only works if NODE_ENV is 'development'. Correct separation of config from code.
English
0
2
17
1.1K