Fluence Network

The Fluence Labs Developer Hub

Welcome to the Fluence Labs developer hub. You'll find comprehensive guides and documentation to help you start working with Fluence Labs as quickly as possible, as well as support if you get stuck. Let's jump right in!

Should you have any questions, feel free to join our Discord or Telegram!

Get Started

AIR showcase: chat

(seq
    (seq
        (call node ("dist" "add_module") [module_bytes module_config] void[])
        (call node ("dist" "add_module") [sqlite_bytes sqlite_config] void[])
    )
    (seq
        (call node ("dist" "add_blueprint") [blueprint] blueprint_id)
        (seq
            (call node ("srv" "create") [blueprint_id] service_id)
            (call client ("return" "") [service_id] client_result)
        )
    )
)

Key

Value

client

123D...

node

123D...

module_bytes

0xabc...

module_config

{
"name": "history",
"mem_pages_count": 100,
"logger_enabled": true,
"wasi": {
"envs": {},
"preopened_files": ["/tmp"],
"mapped_dirs": {},
}
}

sqlite_bytes

0xabc

sqlite_config

{
"name": "sqlite",
"mem_pages_count": 100,
"logger_enabled": true,
"wasi": {
"envs": {},
"preopened_files": ["/tmp"],
"mapped_dirs": {},
}
}

blueprint

{
"name": module,
"dependencies": ["sqlite", "history"]
}

Updated about a month ago

AIR showcase: chat


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.