aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/chain/main.go4
-rw-r--r--examples/counter/main.go2
-rw-r--r--examples/fc/main.go16
-rw-r--r--examples/payments/main.go2
4 files changed, 4 insertions, 20 deletions
diff --git a/examples/chain/main.go b/examples/chain/main.go
index 7b2ce8e..d474c2b 100644
--- a/examples/chain/main.go
+++ b/examples/chain/main.go
@@ -4,11 +4,11 @@ import (
"crypto/rand"
"fmt"
"github.com/ava-labs/coreth"
+ "github.com/ava-labs/coreth/core"
+ "github.com/ava-labs/coreth/core/types"
"github.com/ava-labs/coreth/eth"
"github.com/ava-labs/go-ethereum/common"
"github.com/ava-labs/go-ethereum/common/hexutil"
- "github.com/ava-labs/go-ethereum/core"
- "github.com/ava-labs/go-ethereum/core/types"
"github.com/ava-labs/go-ethereum/log"
"github.com/ava-labs/go-ethereum/params"
"github.com/ava-labs/go-ethereum/rlp"
diff --git a/examples/counter/main.go b/examples/counter/main.go
index 86e839a..f28550b 100644
--- a/examples/counter/main.go
+++ b/examples/counter/main.go
@@ -7,10 +7,10 @@ import (
"fmt"
"github.com/ava-labs/coreth"
"github.com/ava-labs/coreth/core"
+ "github.com/ava-labs/coreth/core/types"
"github.com/ava-labs/coreth/eth"
"github.com/ava-labs/go-ethereum/common"
"github.com/ava-labs/go-ethereum/common/compiler"
- "github.com/ava-labs/go-ethereum/core/types"
"github.com/ava-labs/go-ethereum/crypto"
"github.com/ava-labs/go-ethereum/log"
"github.com/ava-labs/go-ethereum/params"
diff --git a/examples/fc/main.go b/examples/fc/main.go
deleted file mode 100644
index f4bf65d..0000000
--- a/examples/fc/main.go
+++ /dev/null
@@ -1,16 +0,0 @@
-package main
-
-import (
- "github.com/ava-labs/coreth/cmd/geth"
- "os"
-)
-
-func checkError(err error) {
- if err != nil {
- panic(err)
- }
-}
-
-func main() {
- geth.App.Run(os.Args)
-}
diff --git a/examples/payments/main.go b/examples/payments/main.go
index 5076737..f679ea9 100644
--- a/examples/payments/main.go
+++ b/examples/payments/main.go
@@ -5,10 +5,10 @@ import (
"fmt"
"github.com/ava-labs/coreth"
"github.com/ava-labs/coreth/core"
+ "github.com/ava-labs/coreth/core/types"
"github.com/ava-labs/coreth/eth"
"github.com/ava-labs/go-ethereum/common"
"github.com/ava-labs/go-ethereum/common/hexutil"
- "github.com/ava-labs/go-ethereum/core/types"
"github.com/ava-labs/go-ethereum/log"
"github.com/ava-labs/go-ethereum/params"
"math/big"