aboutsummaryrefslogtreecommitdiff
path: root/examples/fc/main.go
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-08-14 01:37:25 -0400
committerDeterminant <[email protected]>2019-08-14 01:37:25 -0400
commit592f21f5b97e5b1e714f194ae90ab83e6547cf41 (patch)
treec500cdf4ca4266af15703eca182df34d66715918 /examples/fc/main.go
parentad886faec521f1edcb90f6f8eb4555608d085312 (diff)
finish a full chain example (with p2p network)
Diffstat (limited to 'examples/fc/main.go')
-rw-r--r--examples/fc/main.go14
1 files changed, 14 insertions, 0 deletions
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)
+}