mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 13:41:37 +00:00
931388b687
* Virtual machine for the NEO blockhain. * fixed big.Int numeric operation pointer issue. * added appcall * Added README for vm package. * removed main.go * started VM cli (prompt) integration * added support for printing the stack. * moved cli to vm package * fixed vet errors * updated readme * added more test for VM and fixed some edge cases. * bumped version -> 0.37.0
26 lines
482 B
Go
26 lines
482 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/CityOfZion/neo-go/cli/server"
|
|
"github.com/CityOfZion/neo-go/cli/smartcontract"
|
|
"github.com/CityOfZion/neo-go/cli/vm"
|
|
"github.com/CityOfZion/neo-go/cli/wallet"
|
|
"github.com/urfave/cli"
|
|
)
|
|
|
|
func main() {
|
|
ctl := cli.NewApp()
|
|
ctl.Name = "neo-go"
|
|
ctl.Usage = "Official Go client for Neo"
|
|
|
|
ctl.Commands = []cli.Command{
|
|
server.NewCommand(),
|
|
smartcontract.NewCommand(),
|
|
wallet.NewCommand(),
|
|
vm.NewCommand(),
|
|
}
|
|
|
|
ctl.Run(os.Args)
|
|
}
|