0.1.0 • Published 2 years ago

autoisolate v0.1.0

Weekly downloads
-
License
Unlicense
Repository
-
Last release
2 years ago

autoisolate

bech32-addressed autobase executed with isolated vm

usage

const toUppercaseAddress = 'hyp1pqdnvkw95qufp9czn8540f2lazdecn2cht475n08zaz6fkpatq2tshqltq2'

const isolate = new Autoisolate(toUppercaseAddress, { 
  autobase: new Autobase(opts)
})
await isolate.ready()
await base.append('hello world')
const node = await base.view.get(0)

console.log(node.value.toString()) // HELLO WORLD