import FormatInterface from '@leofcoin/codec-format-interface'
class MyFormat extends FormatInterface {
get proto() {
return {
key: 'value',
hello: 'world'
}
}
constructor(data) {
super(data, { name: 'my-format', hashFormat = 'bs32' })
}
}
import resolve from '@rollup/plugin-node-resolve'
...
plugins: [
resolve()
]
...