{"id":23635114,"url":"https://github.com/filinvadim/bigchaindb-ipdb-go","last_synced_at":"2025-07-25T13:42:54.543Z","repository":{"id":183261949,"uuid":"669846916","full_name":"filinvadim/bigchaindb-ipdb-go","owner":"filinvadim","description":"This is an implementation of a BigchainDB client written in Golang. ","archived":false,"fork":false,"pushed_at":"2023-07-30T17:19:41.000Z","size":6587,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T05:32:10.446Z","etag":null,"topics":["bigchaindb","bigchaindb-driver","distributed-database","golang-library","ipdb","planetmint"],"latest_commit_sha":null,"homepage":"https://www.bigchaindb.com/","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/filinvadim.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}},"created_at":"2023-07-23T16:10:51.000Z","updated_at":"2024-11-08T05:04:46.000Z","dependencies_parsed_at":"2023-07-30T18:37:01.774Z","dependency_job_id":null,"html_url":"https://github.com/filinvadim/bigchaindb-ipdb-go","commit_stats":null,"previous_names":["filinvadim/bigchaindb-go","filinvadim/bigchaindb-ipdb-go"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filinvadim%2Fbigchaindb-ipdb-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filinvadim%2Fbigchaindb-ipdb-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filinvadim%2Fbigchaindb-ipdb-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filinvadim%2Fbigchaindb-ipdb-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/filinvadim","download_url":"https://codeload.github.com/filinvadim/bigchaindb-ipdb-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239565648,"owners_count":19660154,"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":["bigchaindb","bigchaindb-driver","distributed-database","golang-library","ipdb","planetmint"],"created_at":"2024-12-28T05:30:47.280Z","updated_at":"2025-02-18T22:47:27.574Z","avatar_url":"https://github.com/filinvadim.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bigchaindb-go\nUnofficial Go BigchainDB driver.\n\nThis is an implementation of a BigchainDB client written in golang. It follows the requirements set out in [BEP-13](https://github.com/bigchaindb/BEPs/tree/master/13).\n\n## TO-DO\n\n* Add tests (WIP)\n* Implement many-to-many transfer (WIP)\n* Add documentation and more detailed example package\n* Benchmark tests\n\n## Compatibility\n\nThis driver is compatible with BigchainDB server v2.0 and above.\n\n## Content\n\n* [Installation](#installation)\n    * [Example: Create a transaction](#example-create-a-transaction)\n* [Documentation](#bigchaindb-documentation)\n* [Authors](#authors)\n* [License](#license)\n\n## Installation\n\nRun `go get -u github.com/filinvadim/bigchaindb-go`\n\n## Example: Create a transaction\n\n```go\n        kp, _ := apiv1.NewKeyPair()\n        cli, err := apiv1.NewRESTClientV1(context.Background(), \"0.0.0.0:9984\", kp)\n        if err != nil {\n            log.Fatalln(err)\n        }\n    \n        meta := map[string]interface{}{\"test\": \"test\"}\n        amount := 1.0\n        _, err = cli.CreateTx(apiv1.ModeAsync, amount, meta, nil)\n        if err != nil {\n            log.Fatalln(\"create\", err)\n        }\n```\n\n## Example: Transfer\n\n```go\n        kp2, _ := apiv1.NewKeyPair()\n        _, err = cli.TransferOneToOne(apiv1.ModeAsync, amount, kp2, previousCommittedTx, meta)\n        if err != nil {\n            log.Fatalln(\"transfer\", err)\n        }\n```\n\n## Example: Stream listening\n\n```go\n        stream := make(chan models.ValidTransactionResponse, 1)\n        wsCli, err := apiv1.NewWSClient(context.Background(), \"0.0.0.0:9985\", log.Printf)\n        if err != nil {\n        log.Fatalln(err)\n        }\n        err = wsCli.SubscribeStream(stream)\n        if err != nil {\n        log.Fatalln(err)\n        }\n        for m := range stream {\n            fmt.Printf(\"message %#v\", m)\n        }\n```\n\n## BigchainDB Documentation\n\n- [HTTP API Reference](https://docs.bigchaindb.com/projects/server/en/latest/http-client-server-api.html)\n- [The Transaction Model](https://docs.bigchaindb.com/projects/server/en/latest/data-models/transaction-model.html?highlight=crypto%20conditions)\n- [Inputs and Outputs](https://docs.bigchaindb.com/projects/server/en/latest/data-models/inputs-outputs.html)\n- [Asset Transfer](https://docs.bigchaindb.com/projects/py-driver/en/latest/usage.html#asset-transfer)\n- [All BigchainDB Documentation](https://docs.bigchaindb.com/)\n\n## Authors\n\n* Vadim Filin\n* ...\n\n## License\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilinvadim%2Fbigchaindb-ipdb-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilinvadim%2Fbigchaindb-ipdb-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilinvadim%2Fbigchaindb-ipdb-go/lists"}