{"id":26448579,"url":"https://github.com/scorum/scorum-go","last_synced_at":"2025-03-18T14:35:06.277Z","repository":{"id":30609217,"uuid":"125525024","full_name":"scorum/scorum-go","owner":"scorum","description":"Go RPC library for Scorum blockchain","archived":false,"fork":false,"pushed_at":"2024-01-23T19:37:53.000Z","size":7759,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-17T12:40:58.254Z","etag":null,"topics":["blockchain","rpc"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scorum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-16T14:11:12.000Z","updated_at":"2022-01-06T20:04:43.000Z","dependencies_parsed_at":"2024-06-21T05:43:06.879Z","dependency_job_id":"69561f44-c71c-4700-9c95-7c92c95384ee","html_url":"https://github.com/scorum/scorum-go","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scorum%2Fscorum-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scorum%2Fscorum-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scorum%2Fscorum-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scorum%2Fscorum-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scorum","download_url":"https://codeload.github.com/scorum/scorum-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244240941,"owners_count":20421555,"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":["blockchain","rpc"],"created_at":"2025-03-18T14:35:05.634Z","updated_at":"2025-03-18T14:35:06.265Z","avatar_url":"https://github.com/scorum.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scorum/scorum-go\n[![Go Report Card](https://goreportcard.com/badge/github.com/scorum/scorum-go)](https://goreportcard.com/report/github.com/scorum/scorum-go)\n[![GoDoc](https://godoc.org/github.com/scorum/scorum-go?status.svg)](https://godoc.org/github.com/scorum/scorum-go)\n[![Build Status](https://travis-ci.org/scorum/scorum-go.svg?branch=master)](https://travis-ci.org/scorum/scorum-go)\n\nGolang RPC client library for [Scorum](https://scorumcoins.com). Both http and websocket transports are supported.\nThe websocket one allows to set callbacks.\n\n## Usage\n\n```go\nimport \"github.com/scorum/scorum-go\"\n```\n\n## Example\n```go\nimport (\n    scorum \"github.com/scorum/scorum-go\"\n    \"github.com/scorum/scorum-go/rpc\"\n)\n\nconst testNet = \"https://testnet.scorum.com\"\n\n// create client\ntransport := rpc.NewHTTPTransport(testNet)\nclient := NewClient(transport)\n\n// get last 100 transactions of the particular account\nhistory, _ := client.AccountHistory.GetAccountHistory(\"acc1\", -1, 100)\n\nfor seq, trx := range history {\n    for _, op := range trx.Operations {\n        switch body := op.(type) {\n        case *types.TransferOperation:\n            // do something with the incoming transaction\n        }\n    }\n}\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscorum%2Fscorum-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscorum%2Fscorum-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscorum%2Fscorum-go/lists"}