More specifically, EVMAuth is a smart contract written in Solidity that can be deployed to any EVM (e.g. Ethereum, Radius, Base) that extends the ERC-1155 token standard, enabling developers to restrict and sell access to web resources, content, and applications based on token ownership.
EVMAuth has a ton of practical applications, such as:
• access control • memberships • subscriptions • API credits for metered usage • gamification (achievements, badges, etc.) • pay-per-view media content • event tickets • trial access • gaming assets • software licensing • in-app purchases • certifications • retail rewards • crowd-funding campaign rewards • collectible assets
...and many more.
Similar to the x402 protocol recently launched by Coinbase (https://news.ycombinator.com/item?id=43908129), EVMAuth can and should be used in conjunction with the long dormant HTTP 402 "Payment Required" response status code.
In addition to the core Solidity contract code, there is also an EVMAuth TypeScript SDK available (https://github.com/evmauth/evmauth-ts), with a working code example using Express v5 and HTTP 402 (https://github.com/evmauth/evmauth-ts/tree/main/examples/exp...)
Feedback and contributions are welcome and encouraged!