UNPKG

interface-ipfs-core

Version:

A test suite and interface you can use to implement a IPFS core interface.

7 lines (5 loc) 223 B
import { fromString as uint8ArrayFromString } from 'uint8arrays/from-string' export const fixture = Object.freeze({ cid: 'Qma4hjFTnCasJ8PVp3mZbZK5g2vGDT4LByLJ7m8ciyRFZP', data: uint8ArrayFromString('Plz add me!\n') })