simbl
v0.3.0
Published
Simulator
Downloads
4
Readme
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()