forked from cerc-io/ipfs-ethdb
commit
750fa6bbd5
@ -30,12 +30,12 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/ethereum/go-ethereum/trie"
|
"github.com/ethereum/go-ethereum/trie"
|
||||||
"github.com/jmoiron/sqlx"
|
"github.com/jmoiron/sqlx"
|
||||||
"github.com/vulcanize/pg-ipfs-ethdb"
|
"github.com/vulcanize/pg-ipfs-ethdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
connectStr := "postgresql://localhost:5432/vulcanize_testing?sslmode=disable"
|
connectStr := "postgresql://localhost:5432/vulcanize_testing?sslmode=disable"
|
||||||
db, _ := sqlx.Connect("postgres", connectStr)
|
db, _ := sqlx.Connect("postgres", connectStr)
|
||||||
|
|
||||||
kvs := ipfsethdb.NewKeyValueStore(db)
|
kvs := ipfsethdb.NewKeyValueStore(db)
|
||||||
|
Loading…
Reference in New Issue
Block a user