Skip to content

Instantly share code, notes, and snippets.

@jefft0
jefft0 / preload.go
Created February 9, 2024 16:27
Utility to create the Wesh accountSK and put it in the keystore
package main
import (
"fmt"
crand "crypto/rand"
"berty.tech/weshnet/pkg/ipfsutil"
"github.com/dgraph-io/badger/v2/options"
ds "github.com/ipfs/go-datastore"