@appliedblockchain/mantle-server

Mantle Server SDK repository

Usage no npm install needed!

<script type="module">
  import appliedblockchainMantleServer from 'https://cdn.skypack.dev/@appliedblockchain/mantle-server';
</script>

README

Mantle Server

Mantle Server SDK repository

Examples

ipfs

const MantleServer = require('@appliedblockchain/mantle-server')
const ipfs = MantleServer.ipfs({ host: '127.0.0.1' })

const data = 'foo'

const hash = await ipfs.store(data)
const retrievedData = await ipfs.cat(hash)
await ipfs.rm(hash)