All Projects → CityOfZion → neo-go-sdk

CityOfZion / neo-go-sdk

Licence: MIT license
Golang SDK for the NEO blockchain

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to neo-go-sdk

Neo Python
Python Node and SDK for the NEO 2.x blockchain
Stars: ✭ 313 (+820.59%)
Mutual labels:  neo
Neo Ico Template
An ICO Template for NEO projects
Stars: ✭ 119 (+250%)
Mutual labels:  neo
Neo Node
Stars: ✭ 192 (+464.71%)
Mutual labels:  neo
Awesome Blockchain
区块链白皮书、书籍、交易所、币种、自媒体等资源汇总 💯
Stars: ✭ 747 (+2097.06%)
Mutual labels:  neo
Neo Compiler
Stars: ✭ 62 (+82.35%)
Mutual labels:  neo
Examples
Stars: ✭ 132 (+288.24%)
Mutual labels:  neo
Octopus
Security Analysis tool for WebAssembly module (wasm) and Blockchain Smart Contracts (BTC/ETH/NEO/EOS)
Stars: ✭ 261 (+667.65%)
Mutual labels:  neo
neo-csharpcoe
.NET Blockchain C# Developers Center of Excellence
Stars: ✭ 13 (-61.76%)
Mutual labels:  neo
The Journal Of Blockchain
区块链自媒体、专注区块链技术学习和实践、IPFS/Filecoin、Bitcoin、Ethereum、EOS、Cosmos、区块链、白皮书、Coinmarketcap、Coindesk、Safe Network、Telegram、Docker、社会治理、经济激励
Stars: ✭ 63 (+85.29%)
Mutual labels:  neo
Docs
NEO Documentation
Stars: ✭ 183 (+438.24%)
Mutual labels:  neo
Screverser
Reverse engineer for Smart Contracts
Stars: ✭ 13 (-61.76%)
Mutual labels:  neo
Neo.org
Stars: ✭ 41 (+20.59%)
Mutual labels:  neo
Openwrt widora
Based OpenWrt cc15.05,for widora BIT3 3.1 4 5 5.1 and NEO
Stars: ✭ 150 (+341.18%)
Mutual labels:  neo
Neo
Go Web Framework
Stars: ✭ 410 (+1105.88%)
Mutual labels:  neo
Neo Gui 2.x
Stars: ✭ 238 (+600%)
Mutual labels:  neo
Neo
NEO Smart Economy
Stars: ✭ 3,337 (+9714.71%)
Mutual labels:  neo
Proposals
NEO Enhancement Proposals
Stars: ✭ 123 (+261.76%)
Mutual labels:  neo
neo-go
Go Node and SDK for the NEO blockchain
Stars: ✭ 104 (+205.88%)
Mutual labels:  neo
ansy
Minimal NEO paper wallet generator
Stars: ✭ 31 (-8.82%)
Mutual labels:  neo
Neo Vm
NEO Virtual Machine
Stars: ✭ 152 (+347.06%)
Mutual labels:  neo

neo-go-sdk

Golang SDK for the NEO blockchain.

What?

  • Client for interacting with a node on the NEO blockchain.
  • Retrieve data and send actions.
  • Fully tested Golang package.
  • Aimed to help other developers build applications for the NEO ecosystem.
  • Written using the standard library, without 3rd party packages.

Quick Start

go get github.com/CityOfZion/neo-go-sdk
package main

import (
  "log"

  "github.com/CityOfZion/neo-go-sdk/neo"
)

func main() {
  nodeURI := "http://test1.cityofzion.io:8880"
  client := neo.NewClient(nodeURI)

  ok := client.Ping()
  if !ok {
    log.Fatal("Unable to connect to NEO node")
  }

  block, err := client.GetBlockByHash(
    "3f0b498c0d57f73c674a1e28045f5e9a0991f9dac214076fadb5e6bafd546170",
  )
  if err != nil {
    log.Fatal(err)
  }

  log.Printf("Block found, index is: %d", block.Index)
}

Examples

See GoDoc for full documentation.

CLI

https://res.cloudinary.com/vidsy/image/upload/v1506873093/Oct-01-2017_16-50-54_j4j3hp.gif

Debugging a NEO public and private key pair is a common task when interacting with the blockchain. Make use of the neo-go-sdk CLI to help with this process:

./neo-go-sdk --wif KxQREAjBL6Ga8dw9rPN45pwoZ5dxhAQacEajQke6qmpB7DW6nAWE

This will output the full details about the key pair. See releases to download the CLI.

Help

  • Open a new issue if you encountered a problem.
  • Or ping @revett on the NEO Slack.
  • Submitting PRs to the project is always welcome! 🎉
  • Check the Changelog for recent changes.

License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].