Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var content = new Blob(['testing', 'sdfdsf'], {type : 'text'})
- ipfs.files.write('/' + path, content, (err) => {
- if (err) {
- log(err)
- } else {
- log('Wrote to "' + path + '".');
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement