Skip to main content
Version: 0.1.0-alpha.4 (alpha)

Start with LSF

LSF runs small programs called capsules. A node loads a capsule when you call it, runs the requested function, and returns the result. You can deploy several capsules to one node without starting a separate server for each one.

Build your first application​

Start with Application development. You will set up a development node, create a greeting in your chosen language, send it Ada, and receive Hello, Ada!. Then try a word counter or shipping calculator. You will have working source that you can edit, build, test and deploy yourself.

  1. Get the developer tools.
  2. Set up a workspace, using the Windows or Linux steps.
  3. Create a capsule in Rust, C, TypeScript, Go, Java or C#.
  4. Change and test it.

The tools generate the node credentials and install the matching compiler. No LSF source checkout or host language compiler is needed for this path.

Choose another starting point​

What you want to doStart here
Call a capsule from an existing applicationClient SDK guide
Build and deliver an Angular websiteAngular application guide
Install a persistent nodeNative installation
Learn individual node commands or contribute to LSFRun your first node from source
Find a development commandDeveloper commands

A few terms you will use​

TermMeaning
CapsuleYour program, packaged as a WebAssembly component with a description of its functions
ContractThe names and types of the inputs and outputs a capsule accepts
PublicationThe node's record of a capsule you uploaded
DeploymentA named choice of which published capsule should answer a service's calls
ActivationOne call to a capsule function

You do not need to understand LSF's internal architecture to complete the first application. Follow the working example and open the references when you need them.