Skip to content

Spin HTTP WebAssembly Component retrieving NEAR blockchain data

Notifications You must be signed in to change notification settings

sjriddle/near-http-spin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

near-http-spin

Simple HTTP application built on-top of the Spin Framework, written in Rust. The application is a web server that acts as an HTTP trigger by listening for incoming requests, routing them to a specified Component, and returning an HTTP response.

The routes defined in the Application Manifest compile down to binary Wasm modules i.e. Components. In this case, the application listens for incoming requests and routes the request to a component in charge of executing specific calls to NEAR blockchain JSON-RPC API endpoints.

What is Spin?

Spin is a framework for building and running event-driven microservice applications with WebAssembly (Wasm) components.

Spin uses Wasm because it is sandboxed, portable, and fast. Millisecond cold start times mean no need to keep applications “warm”.

About

Spin HTTP WebAssembly Component retrieving NEAR blockchain data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages