add service

This commit is contained in:
boneyard93501
2023-02-07 22:27:20 -06:00
parent 8b4e706df4
commit 10a397a033
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# yaml-language-server: $schema=../../.fluence/schemas/module.yaml.json
# Defines [Marine Module](https://fluence.dev/docs/build/concepts/#modules). For Fluence CLI, **module** - is a directory which contains this config and either a precompiled .wasm Marine module or a source code of the module written in Rust which can be compiled into a .wasm Marine module. You can use `fluence module new` command to generate a template for new module
# Documentation: https://github.com/fluencelabs/fluence-cli/tree/main/docs/configs/module.md
version: 0
type: rust
name: consensus

7
services/service.yaml Normal file
View File

@ -0,0 +1,7 @@
# yaml-language-server: $schema=../.fluence/schemas/service.yaml.json
version: 0
name: consensus
modules:
facade:
get: consensus
loggerEnabled: false