threefoldtech / home

Starting point for the threefoldtech organization
https://threefold.io
Apache License 2.0
9 stars 4 forks source link

cleanup for specs 3script #1434

Closed robvanmieghem closed 9 months ago

robvanmieghem commented 1 year ago

3lang

Circles story: https://circles.threefold.me/project/tf_engineering_coordination/us/91?kanban-status=2521

Telegram chat :https://t.me/+nPZVC_napbBlNTU0

purpose

Create intermediate language, see examples below.

Requirements

Functionality

example


!!tfgrid.network_create
    name:private

!!tfgrid.tools_sshkey_create
    name:myssh
    key:'
            blabla
        '

!!tfgrid.vm.create
    name:kristof
    size:large
    network:private
    sshkey:myssh
    planet_net:true

!!tfgrid.vm.create
    name:kristof2
    size:small
    network:private
    sshkey:myssh
    planet_net:true

!!web3gw.money.send 
    channel:btclight
    from:mywallet
    to:'dfdfdfgdfdfdfdf'
    currency:btc
    amount:0.01

!!web3gw.money.send 
    channel:ethereum
    from:mywallet2
    to:'sdsdsd'
    currency:tft
    amount:0.01
despiegk commented 1 year ago

lets get all specs right first, then we define what we can do by when