{"id":18519794,"url":"https://github.com/proximax-storage/nem2-sdk-go","last_synced_at":"2025-04-09T09:32:23.047Z","repository":{"id":57480923,"uuid":"141285301","full_name":"proximax-storage/nem2-sdk-go","owner":"proximax-storage","description":"Official Go SDK for ProximaX/NEM Catapult","archived":false,"fork":false,"pushed_at":"2019-01-28T13:44:02.000Z","size":310,"stargazers_count":15,"open_issues_count":9,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-24T04:07:55.161Z","etag":null,"topics":["catapult","go","lang","nem","proximax","sdk"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/proximax-storage.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-17T12:14:57.000Z","updated_at":"2025-02-24T15:24:28.000Z","dependencies_parsed_at":"2022-09-26T17:41:23.142Z","dependency_job_id":null,"html_url":"https://github.com/proximax-storage/nem2-sdk-go","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proximax-storage%2Fnem2-sdk-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proximax-storage%2Fnem2-sdk-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proximax-storage%2Fnem2-sdk-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proximax-storage%2Fnem2-sdk-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/proximax-storage","download_url":"https://codeload.github.com/proximax-storage/nem2-sdk-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248012559,"owners_count":21033221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["catapult","go","lang","nem","proximax","sdk"],"created_at":"2024-11-06T17:17:26.916Z","updated_at":"2025-04-09T09:32:22.754Z","avatar_url":"https://github.com/proximax-storage.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nem2-sdk-go\n\u003cp align=\"left\"\u003e\n    \u003cimg src=\"https://goreportcard.com/badge/github.com/proximax-storage/nem2-sdk-go\"\u003e\n\u003c/p\u003e\n\nnem2-sdk-go is a Golang client library for Catapult API\n\n\n\u003cp align=\"center\"\u003e \n    \u003cimg src=\"./doc/catapult-nem2-sdk-go.jpg\"\u003e\n\u003c/p\u003e\n\n## Usage ##\n\n```go\nimport \"github.com/proximax-storage/nem2-sdk-go/sdk\"\n```\n\nCreate a Catapult network configuration \n\nUsing the *Testnet* network\n```go\nconf, err := sdk.NewConfig(\"http://localhost:3000\",sdk.Testnet)\n```\nOr using the *Mainnet* network\n```go\nconf, err := sdk.NewConfig(\"http://localhost:3000\",sdk.Mainnet)\n```\n\nConstruct a new Catapult client\n```go\nclient := sdk.NewClient(nil, conf)\n```\n\nUsing the client to call a method from a Service API\n\n```go\n// Get the chain height\nchainHeight, err := client.Blockchain.GetChainHeight(context.Background())\n```\n\n## Context ##\n\nA [Context](https://golang.org/pkg/context/) type is the first argument in any service method for specifying\ndeadlines, cancelation signals, and other request-scoped values\n```go\n// Get the chain height\nchainHeight, err := client.Blockchain.GetChainHeight(context.Background())\n```\n\n## Wiki / Examples ##\n\nExamples are in the `examples` folder\n\nFor more examples, go to our [wiki](https://github.com/proximax-storage/nem2-sdk-go/wiki)\n\n## Core Contributors ##\n\n + [@Wondertan](https://github.com/Wondertan) \n + [@ruslanBik4](https://github.com/ruslanBik4)\n + [@slackve](https://github.com/slackve)\n + [@brambear](https://github.com/alvin-reyes)\n + [@carlocayos](https://github.com/carlocayos)\n\n## Contribution ##\nWe'd love to get more people involved in the project. Please feel free to raise any issues or PR and we'll review your contribution.\n\nCopyright (c) 2018 ProximaX Limited\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproximax-storage%2Fnem2-sdk-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproximax-storage%2Fnem2-sdk-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproximax-storage%2Fnem2-sdk-go/lists"}