{"id":21658287,"url":"https://github.com/tsirysndr/ost-sdk-go","last_synced_at":"2026-04-12T23:56:34.880Z","repository":{"id":126076783,"uuid":"231677187","full_name":"tsirysndr/ost-sdk-go","owner":"tsirysndr","description":"OST Platform SDK for Go","archived":false,"fork":false,"pushed_at":"2020-01-29T19:36:12.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-08T05:43:29.927Z","etag":null,"topics":["blockchain-platform","brand-tokens","economy","go","ost","sdk"],"latest_commit_sha":null,"homepage":"https://dev.ost.com/","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/tsirysndr.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":"2020-01-03T22:40:52.000Z","updated_at":"2024-06-19T10:26:16.825Z","dependencies_parsed_at":null,"dependency_job_id":"6cfaf7dd-cd45-485e-af7a-d4d26bfda083","html_url":"https://github.com/tsirysndr/ost-sdk-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/tsirysndr/ost-sdk-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsirysndr%2Fost-sdk-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsirysndr%2Fost-sdk-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsirysndr%2Fost-sdk-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsirysndr%2Fost-sdk-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsirysndr","download_url":"https://codeload.github.com/tsirysndr/ost-sdk-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsirysndr%2Fost-sdk-go/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267378834,"owners_count":24077819,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-platform","brand-tokens","economy","go","ost","sdk"],"created_at":"2024-11-25T09:29:01.003Z","updated_at":"2026-04-12T23:56:29.845Z","avatar_url":"https://github.com/tsirysndr.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# OST Go SDK\n\n\u003cp\u003e\n  \u003ca href=\"https://github.com/tsirysndr/ost-sdk-go/commits/master\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/last-commit/tsirysndr/ost-sdk-go.svg\" target=\"_blank\" /\u003e\n  \u003c/a\u003e\n  \u003cimg alt=\"GitHub code size in bytes\" src=\"https://img.shields.io/github/languages/code-size/tsirysndr/ost-sdk-go\"\u003e\n  \u003cimg alt=\"GitHub go.mod Go version\" src=\"https://img.shields.io/github/go-mod/go-version/tsirysndr/ost-sdk-go\"\u003e\n  \u003ca href=\"https://github.com/tsirysndr/ost-sdk-go/issues?q=is%3Apr+is%3Aclosed\"\u003e\n    \u003cimg alt=\"GitHub closed pull requests\" src=\"https://img.shields.io/github/issues-pr-closed-raw/tsirysndr/ost-sdk-go\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/tsirysndr/ost-sdk-go/pulls\"\u003e\n    \u003cimg alt=\"GitHub pull requests\" src=\"https://img.shields.io/github/issues-pr/tsirysndr/ost-sdk-go\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/tsirysndr/ost-sdk-go/issues\"\u003e\n    \u003cimg alt=\"GitHub issues\" src=\"https://img.shields.io/github/issues/tsirysndr/ost-sdk-go\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/tsirysndr/ost-sdk-go/graphs/contributors\"\u003e\n    \u003cimg alt=\"GitHub contributors\" src=\"https://img.shields.io/github/contributors/tsirysndr/ost-sdk-go\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/tsirysndr/ost-sdk-go/blob/master/LICENSE\"\u003e\n    \u003cimg alt=\"License: BSD\" src=\"https://img.shields.io/badge/license-MIT-green.svg\" target=\"_blank\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nOST Platform SDK for Go\n\n## Introduction\n\nOST is a complete technology solution enabling mainstream businesses \nto easily launch blockchain-based economies without \nrequiring blockchain development.\n\nAt the core of OST is the concept of OST-powered Brand Tokens (BTs). \nBTs are white-label cryptocurrency tokens with utility representations \nrunning on highly-scalable Ethereum-based side blockchains, \nbacked by OST tokens staked on Ethereum mainnet. Within a business’s \ntoken economy, BTs can only be transferred to whitelisted user addresses. \nThis ensures that they stay within the token economy.\n\nThe OST technology stack is designed to give businesses everything they need \nto integrate, test, and deploy BTs. Within the OST suite of products, developers \ncan use OST Platform to create, test, and launch Brand Tokens backed by OST. \n\nOST APIs and server-side SDKs make it simple and easy for developers to \nintegrate blockchain tokens into their apps.\n\n## Requirements\n\nIntegrating an OST SDK into your application can begin as soon as you create an account \nwith OST Platform, requiring only three steps:\n1. Sign-up on [https://platform.ost.com](https://platform.ost.com).\n2. Create your Brand Token in OST Platform.\n3. Obtain an API Key and API Secret from [https://platform.ost.com/mainnet/developer](https://platform.ost.com/mainnet/developer).\n\n## Documentation\n\n[https://dev.ost.com/](https://dev.ost.com/)\n\n## Installation\n\n```bash\n\u003e go get github.com/tsirysndr/ost-sdk-go\n```\n\n## Getting Started\n\nImport the package into your project.\n\n```Go\nimport \"github.com/tsirysndr/ost-sdk-go\"\n```\n\nConstruct a new OST client, then use the various services on the client to access different parts of the OST API. For example:\n\n```Go\n// the latest valid API endpoint is \"https://api.ost.com/mainnet/v2/\"\nconfig := ost.Config{\n  Endpoint:  \"\u003cAPI_ENDPOINT\u003e\",\n  ApiKey:    \"\u003cYOUR_API_KEY\u003e\",\n  ApiSecret: \"\u003cYOUR_API_SECRET\u003e\",\n}\nclient := ost.NewClient(config)\n```\n\n## SDK Modules\n\nIf a user's private key is lost, they could lose access \nto their tokens. To tackle this risk, OST promotes a \nmobile-first approach and provides mobile (client) and server SDKs. \n\n\n* The server SDKs enable you to register users with OST Platform.\n* The client SDKs provide the additional support required for \nthe ownership and management of Brand Tokens by users so \nthat they can create keys and control their tokens. \n\n### Users Module \n\nTo register users with OST Platform, you can use the services provided in the Users module.\n\nCreate a User with OST Platform:\n\n```Go\nr, _ := client.Users.Create()\nres, _ := json.Marshal(r)\nfmt.Println(string(res))\n```\n\nGet User Detail:\n\n```Go\nr, _ := client.Users.Get(\"b6504ca4-9263-4998-8036-c90e648c48de\")\nres, _ := json.Marshal(r)\nfmt.Println(string(res))\n```\n\nGet Users List:\n\n```Go\nr, _ := client.Users.GetList()\nres, _ := json.Marshal(r)\nfmt.Println(string(res))\n```\n\n##  Coverage\n\nCurrently the following services are supported:\n\n- [x] Create User\n- [x] Get User\n- [x] List Users\n- [x] Register Device\n- [x] Get Device\n- [ ] List Devices in the Economy\n- [x] List Devices of a User\n- [x] Get Session\n- [ ] List Sessions in the Economy\n- [x] List Sessions of a User\n- [x] List All Rules\n- [x] Get Price Point\n- [x] Execute Company to User Transaction\n- [x] Get Transaction\n- [ ] List Transactions in the economy\n- [x] List Transactions of a user\n- [x] Get Balance\n- [x] Get Token\n- [x] Get Recovery Owner\n- [x] Get Chain Information\n- [ ] Get Device Manager\n- [x] Get Available Base Token\n- [ ] Create WebHook\n- [ ] Get WebHook\n- [ ] List WebHooks\n- [ ] Update WebHook\n- [ ] Delete WebHook\n\n\n## Author\n\n👤 **Tsiry Sandratraina**\n\n* Twitter: [@tsiry_sndr](https://twitter.com/tsiry_sndr)\n* Github: [@tsirysndr](https://github.com/tsirysndr)\n\n## Show your support\n\nGive a ⭐️ if this project helped you!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsirysndr%2Fost-sdk-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsirysndr%2Fost-sdk-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsirysndr%2Fost-sdk-go/lists"}