From 592f21f5b97e5b1e714f194ae90ab83e6547cf41 Mon Sep 17 00:00:00 2001 From: Determinant Date: Wed, 14 Aug 2019 01:37:25 -0400 Subject: finish a full chain example (with p2p network) --- examples/fc/main.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 examples/fc/main.go (limited to 'examples') diff --git a/examples/fc/main.go b/examples/fc/main.go new file mode 100644 index 0000000..f336ab5 --- /dev/null +++ b/examples/fc/main.go @@ -0,0 +1,14 @@ +package main + +import ( + "os" + "github.com/Determinant/coreth/cmd/geth" +) + +func checkError(err error) { + if err != nil { panic(err) } +} + +func main() { + geth.App.Run(os.Args) +} -- cgit v1.2.3