import "./calc.aqua"

const PEER ?= "12D3KooWKETqJdR26urWDbkRAVRdPQhcYNSJNGMBTn1zuE9kjQmo"
const RELAY ?= "12D3KooWSD5PToNiLQwKDXsu8JSysCwUt8BVUJEqCHcDe7P5h45e"

func demoCalculation() -> f32:
    on PEER via RELAY:
        Calc.add(10)
        Calc.multiply(5)
        Calc.subtract(8)
        Calc.divide(6)
        res <- Calc.getResult()
    <- res
