{"id":18542768,"url":"https://github.com/coinbase/waas-client-library-go","last_synced_at":"2025-04-09T18:32:11.847Z","repository":{"id":152297345,"uuid":"604890582","full_name":"coinbase/waas-client-library-go","owner":"coinbase","description":"Coinbase Wallet as a Service (WaaS) Client Library in Go. ","archived":true,"fork":false,"pushed_at":"2024-03-30T14:26:15.000Z","size":500,"stargazers_count":146,"open_issues_count":26,"forks_count":72,"subscribers_count":22,"default_branch":"main","last_synced_at":"2025-03-02T22:26:09.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.cloud.coinbase.com/waas","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coinbase.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":"2023-02-22T02:02:17.000Z","updated_at":"2024-12-03T14:43:07.000Z","dependencies_parsed_at":"2024-11-06T20:10:36.348Z","dependency_job_id":"1204c96b-5438-43fe-bd49-5b5159bd60a2","html_url":"https://github.com/coinbase/waas-client-library-go","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase%2Fwaas-client-library-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase%2Fwaas-client-library-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase%2Fwaas-client-library-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase%2Fwaas-client-library-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coinbase","download_url":"https://codeload.github.com/coinbase/waas-client-library-go/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248087859,"owners_count":21045602,"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":[],"created_at":"2024-11-06T20:10:31.172Z","updated_at":"2025-04-09T18:32:06.839Z","avatar_url":"https://github.com/coinbase.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WaaS Go Client Library\n\nThis repository contains the Protocol Buffer definitions for the Coinbase **Wallet-as-a-Service** (WaaS)\nAPIs, as well as the Go client libraries generated from them.\n\n## Overview\n\nWaaS is Coinbase's suite of cloud APIs for creating, managing, and using Multi-Party Computation\n(MPC)-based crypto wallets. Designed for use by nimble start-ups and large enterprise clients alike,\nWaaS APIs are self-service and composable, allowing developers to easily create applications that\ninteract with the blockchain and inherit the maximal security properties of MPC-based key management.\n\n## Documentation\n\nFor full documentation, refer to [docs.cloud.coinbase.com/waas](https://docs.cloud.coinbase.com/waas/).\n\nFor APIs that require multi-party computation (MPC), refer to the [WaaS SDK repository](https://github.com/coinbase/waas-sdk-react-native).\n\n## Prerequisites\n\n- [Golang 1.17+](https://go.dev/learn/)\n\n## Repository Structure\n- [`auth/`](./auth/) contains the authentication-related code for accessing WaaS APIs.\n- [`clients/`](./clients/) contains client instantiation helpers for WaaS APIs.\n- [`gen/`](./gen/) contains Go code generated from the Protocol Buffers.\n- [`protos/`](./protos/) contains the Protocol Buffers that define the WaaS APIs.\n\n## Module Installation\n```\ngo get github.com/coinbase/waas-client-library-go\n```\n\n## Get Started\nTo test that your API Key gives you access as expected to the WaaS APIs:\n\n1. Replace `apiKeyName` and `privKeyTemplate` in [`example.go`](./example.go) with your API Key information.\n2. Run `go build`.\n3. Run `./waas-client-library-go`.\n4. You should see output like the following:\n```\n2023/03/17 12:37:35 creating pool...\n2023/03/17 12:37:35 created pool: name:\"pools/e08c1784-f2be-4b77-8307-a9ea2d8d0017\"  display_name:\"My First Pool\"\n2023/03/17 12:37:35 listing networks...\n2023/03/17 12:37:35 got network: name:\"networks/ethereum-goerli\"  display_name:\"Goerli Ethereum Testnet\"  native_asset:\"networks/ethereum-goerli/assets/0c3569d3-b253-5128-a229-543e1e819430\"  protocol_family:\"protocolFamilies/evm\"  type:TESTNET\n2023/03/17 12:37:35 listing first 5 assets on Ethereum Goerli...\n2023/03/17 12:37:35 got asset: name:\"networks/ethereum-goerli/assets/0c3569d3-b253-5128-a229-543e1e819430\"  advertised_symbol:\"ETH\"  decimals:18  definition:{asset_type:\"native\"}\n2023/03/17 12:37:35 got asset: name:\"networks/ethereum-goerli/assets/adbf9e76-de39-51a0-9e53-5f8ef31b7925\"  advertised_symbol:\"POLY\"  decimals:18  definition:{asset_type:\"erc20\"  asset_group_id:\"0x887CFe31C888EE0780795b7feFF46CE7f9AB556C\"}\n2023/03/17 12:37:35 got asset: name:\"networks/ethereum-goerli/assets/a055a425-fe93-51ae-9099-cf5495db6e79\"  advertised_symbol:\"SIM\"  decimals:18  definition:{asset_type:\"erc20\"  asset_group_id:\"0x0E89BF4135acE3d4d67BF828707746D3855f3a25\"}\n2023/03/17 12:37:35 got asset: name:\"networks/ethereum-goerli/assets/145f3157-a45d-5a77-92be-6b2af8b7af12\"  advertised_symbol:\"TERC20\"  decimals:18  definition:{asset_type:\"erc20\"  asset_group_id:\"0xea100Bec80418680e55D28b655da6CbEF427275f\"}\n2023/03/17 12:37:35 got asset: name:\"networks/ethereum-goerli/assets/20b2830e-53c1-5540-9d1b-0061df3555f6\"  advertised_symbol:\"BETH\"  decimals:18  definition:{asset_type:\"erc20\"  asset_group_id:\"0xED6CCd7e5131073aE67221B1cA195db0fFacc940\"}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoinbase%2Fwaas-client-library-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoinbase%2Fwaas-client-library-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoinbase%2Fwaas-client-library-go/lists"}