I have been playing around with mainnet.cash and CashScript and wanted to share a Proof-of-Concept webapp on chipnet that replicates an interesting idea I saw on Ethereum:
The gist of it is that there exists a Orb in the form of a UTXO that grants the holder 1 question/day to the Oracle (the Oracle in this instance is yours truly) and the Oracle will answer it. The novel thing about the contract is the implementation of a Harberger Tax where the Orb is always for sale. When someone buys the Orb he/she must specify a price for which someone else can buy it and pay a tax to keep the ownership. If a high price is specified it costs more to hold the Orb and vice versa. If the Orb is running “out of juice”, i.e. taxes haven’t been payed for further use of the Orb, anyone can refill it or the Oracle can reset it.
The webapp connects directly to Electrum servers and there is no other backend. Everything is stored on-chain and can be used by just opening the HTML file locally.