SCF #10
AssemlyScript smart contracts SDK
by

Develop Stellar smart contracts with ease!

Awarded
Budget request:
$
*
WebsiteCode

Project Stage

Development

Category

Tools

Based in

Munich, Germany

Team size

Active since

2016
Products & Services

We want to provide an open source, free AssemblyScript smart contracts SDK, that will help developers implement smart contracts for Stellar.


The Stellar Development Foundation (SDF) has decided to build a native smart contract platform on Stellar. The project is called Jump Cannon and is being built on a WebAssembly (WASM) runtime. It should be implemented by the end of 2022.


WASM is a low-level byte code format designed to be fast to parse and to execute. Developers will write Stellar smart contracts in a “human readable” programming language that provides a toolchain having WASM as a compilation target. For example Rust or AssemblyScript.


In similar environments, Rust is often used as the programming language. It has been the most popular and loved programming language for over five years in a row.  However, Rust is harder to learn for web developers. AssemblyScript, on the other hand, is easier to learn for JavaScript and TypeScript developers because it is a dialect of TypeScript.


With our open source AssemblyScript smart contracts SDK we want to ease the smart contract development process especially for web developers by providing a contract library, documentation, and examples of smart contracts build with the SDK.

No items found.
Previous Project(s)
No items found.
Progress so far

The SDK is currently in the prototyping stage.

Goals

In 6 months we want to have a fully functional SDK that helps web developers to create Stellar smart contracts for the test net. Once the new Stellar smart contracts platform goes live on the main net, the SDK should be past the beta phase.

To get there, we request a budget of  
$
*
  to:

We will implement and test the SDK. We will try to work as closely as possible with the Stellar Development Foundation (SDF). We want to promote the SDK via the SCF and SDF Discord channels, create awareness for it and win web developers as testers.

Additional information
  • PROBLEM & SOLUTION

Currently, the Rust programming language is the first choice when developing smart contracts for a platform build on a WebAssembly runtime. But Rust has a steep learning curve and is especially hard to learn for web developers.


On the other hand, AssemblyScript is easy to learn for web developers and is gaining more and more popularity. For example, NEAR and Substrate offer AssemblyScript smart contract SDKs for their platform in addition to Rust SDKs.


The Stellar Development Foundation is working on a Rust smart contracts SDK and we would like to contribute to the Stellar ecosystem by implementing and providing an AssemblyScript smart contracts SDK.


With our SDK we want to ease the smart contract development process especially for web developers by providing a contract library, documentation, and examples of smart contracts build with the SDK.


  • How do you use Stellar in your solution?

The SDK will help web developers to build native smart contracts for Stellar.


  • TARGET MARKET

JavaScript and TypeScript developers who want to write Stellar smart contracts without having to learn Rust.


  • REVENUE MODEL

As an open source, free SDK, this project is not going to generate any revenue. We hope to receive maintenance support from the SDF infrastructure grand committee as soon as the SDK is used by many developers.


  • INDUSTRY AND MARKET RESEARCH

Other blockchains and platforms that provide WebAssembly based smart contracts also offer Rust and AssemblyScript SDKs for their developers (for example NEAR or Substrate)


  • COMPETITION

One can't really say it's a competitor, but the Rust smart contracts SDK by SDF is of course a great choice if you're a Rust developer. Rust has been the most popular and loved programming language for over five years in a row.


However, with the lightweight feature and the web technology familiarity associated with AssemblyScript, web developers will likely start implementing and testing faster than with Rust. And AssemblyScript has branded all efforts as being “made for WebAssembly.” That’s hard to fight. Rust simply includes WASM as part and parcel of a grand plan.


Either way, we think it's important to make both the Rust and AssemblyScript SDKs available to developers.


  • MARKETING AND  SALES

We will reach the developers by providing information in the Discord Stellar Developers Channel.

Pitch deck
No items found.
Deliverables
First Deliverable

This SDK is a medium size development project. It is a bit tricky, because the Stellar smart contract platform is currently in development and the SDK will have to regularly be adjusted to the platform's progress and updates.

Links:

Team

Christian Rogobete: