Weilliptic Applet Framework Documentation
The smart contract framework for WeilChain is designed to support a multi-language environment where developers can write contracts in Rust, C++, Golang, and AssemblyScript. This framework integrates WebAssembly (WASM) as the execution layer, allowing for portability and efficiency across different platforms. Contracts, referred to as "Applets," interact with the blockchain through a well-defined set of APIs for state management, persistence, and cross-contract communication. WeilChain emphasizes modularity and performance, leveraging its sharded architecture to execute contracts efficiently across Pods (shards), while also supporting atomic cross-Pod operations such as swaps via its built-in HTLC (Hashed Time-Locked Contracts) mechanism. This approach offers flexibility, scalability, and seamless interoperability across decentralized applications.
Tutorials
Learn how to create a basic applet, deploy and use it via CLI, define and execute methods with parameters via the CLI, make cross-contract calls or develop a DApp using Typescript.
Explainers
Read on the basic anatomy of an applet, contract state and Weil collections, HTLC Swaps, Runtime Environment as well as Applet SDK.
How-To's
Covers the topics like installing the VSCode WIDL extension, Web-Wallet and WIDL Compiler. Deploying to a local testnet and applet debugging is also explained here.