Runs a Cloudflare Worker that proxies requests to the Ethereum Attestation Service API. The worker is written in Rust, compiled to WebAssembly, and deployed to Cloudflare's edge infrastructure.
npm i
npm run dev
npm run deploy
Wrangler is used to develop, deploy, and configure your Worker via CLI.
Further documentation for Wrangler can be found here.
workers-rs
(the Rust SDK for Cloudflare Workers) is meant to be executed as compiled WebAssembly, and as such so must all the code you write and depend upon. All crates and modules used in Rust-based Workers projects have to compile to the wasm32-unknown-unknown
triple.
Read more about this on the workers-rs
project README.