Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alvin-reyes/nem-go-sdk
Simple NIS1/NEM Wrapper written in GO
https://github.com/alvin-reyes/nem-go-sdk
golang nem nem-blockchain
Last synced: 25 days ago
JSON representation
Simple NIS1/NEM Wrapper written in GO
- Host: GitHub
- URL: https://github.com/alvin-reyes/nem-go-sdk
- Owner: alvin-reyes
- Created: 2017-12-08T16:02:40.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-28T18:35:58.000Z (over 6 years ago)
- Last Synced: 2024-10-12T13:39:36.985Z (about 1 month ago)
- Topics: golang, nem, nem-blockchain
- Language: Go
- Homepage:
- Size: 10.7 MB
- Stars: 3
- Watchers: 4
- Forks: 2
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NEM/NIS Go Wrapper - Simple NEM/NIS1 Wrapper written in Go.
A Simple NEM NIS1 Wrapper written in Go. Basic functions are available such as:
Features:
+ Generation of Account and Lookup
+ Transaction Lookup
+ Blockchain Lookup
+ Node Information Lookup
+ Namespace and Mosaics Lookup
+ Address Generator (with Vanity check)To follow:
+ CLI Capability
+ Initiated and Sign offline Transactions
+ Initiate and Announce transactions
+ Websocket Monitoring## How to use
```go
package mainimport (
"github.com/nem-sdk-go/nembc"
)func main() {
// create the instance.
newNisConnection := nembc.NewNisConnection("http://104.128.226.60:7890/",nembc.Testnet)
// Get account information
newNisConnection.AccountApi.AccountGet("TC5KTUA4TTSSCSFQX2DOMCI2BUEHO2CSE4ZCITPM")// Get namespace and mosaic information
newNisConnection.NamespaceMosaicsApi.GetNamespaceRootPage("roopage")
// Blockchain Api endpoint
newNisConnection.BlockchainApi.GetChainHeight()// NisApi Heart Beat
newNisConnection.NisApi.GetHeartBeat()// Node Information
newNisConnection.NodeApi.GetNodeInfo()// Transaction Api
newNisConnection.TransactionApi.TransactionPrepareAnnounce()}
```## Contribution
The library/tool is far from finish. We need a few contributors to finish some of the tasks at hand. Please check the Issues tab for more details.## Reference
Some of the features, code and functions are directly referenced from https://nem-toolchain.github.io/.## Author
BramBear (Alvin Reyes)