immutableth

1.0.2 • Public • Published

ImmutablETH

This package is built as a joke and is not intended for real-world use! Depend on it for your own risk!

ImmutablETH stores your data in the ETH rinkeby blockchain.

import ImmutablETH from 'ImmutablETH'

const storage = ImmutablETH()

const pony = storage.getItem('myFavoritePony') // Roland
pony.then(console.log)

const order = { item: 'coffee', amount: 1, price: 100, total: 100 }
storage.setItem(`order-${Date.now()}`, order)
  .then(() => console.log('saved!'))
  .catch(() => console.log('error'))
// saved!

Readme

Keywords

Package Sidebar

Install

npm i immutableth

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

7.15 kB

Total Files

11

Last publish

Collaborators

  • caffeinum