0.3.0 • Published 7 years ago

simbl v0.3.0

Weekly downloads
3
License
UNLICENSED
Repository
github
Last release
7 years ago

simbl

Blocklet Sim

  • device
    • add
    • rm
    • ls
  • contract
    • create
    • view
    • add-renew
    • add-action
    • add-manage
    • add-sublet
  • token

    • gen-renew
    • gen-action
    • gen-manage
    • gen-sublet
    • view
    • use
  • action scripting dom UX.led() - gets or sets color UX.button - returns state GPIO.pin(number, bool) - gets or sets pin Power.external - boolean Power.battery - 0 to 100 Events.on() - gpio_high, gpio_low, button_up, button_down, button_press, led_change, battery_charged, battery_low, power_external, network_receive, contract_expired, contract_renewed Context.token - current token Context.contract - current contract Context.log - generate log/error message (saved to device) localStorage / sessionStorage Contract.token() - make a new token (may be an attestation) Contract.let() - make a sub-contract Contract.wallet() - generate a new wallet for use Network.send()