{"id":43668488,"url":"https://github.com/radianceteam/everscale-client-go","last_synced_at":"2026-02-04T23:14:49.610Z","repository":{"id":38034055,"uuid":"304666180","full_name":"radianceteam/everscale-client-go","owner":"radianceteam","description":"Everscale SDK Client library binding for Go","archived":false,"fork":false,"pushed_at":"2023-08-28T14:35:24.000Z","size":409,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T00:37:39.963Z","etag":null,"topics":["everscale","everscale-sdk","freeton","golang","ton","ton-client","ton-sdk","wrapper"],"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/radianceteam.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-10-16T15:25:46.000Z","updated_at":"2023-08-28T14:09:38.000Z","dependencies_parsed_at":"2024-06-20T00:20:11.384Z","dependency_job_id":"ec9f311b-12c6-4191-a4ab-1fa358db685b","html_url":"https://github.com/radianceteam/everscale-client-go","commit_stats":null,"previous_names":["radianceteam/ton-client-go"],"tags_count":51,"template":false,"template_full_name":null,"purl":"pkg:github/radianceteam/everscale-client-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radianceteam%2Feverscale-client-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radianceteam%2Feverscale-client-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radianceteam%2Feverscale-client-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radianceteam%2Feverscale-client-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/radianceteam","download_url":"https://codeload.github.com/radianceteam/everscale-client-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radianceteam%2Feverscale-client-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29099126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T22:44:52.815Z","status":"ssl_error","status_checked_at":"2026-02-04T22:44:16.428Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["everscale","everscale-sdk","freeton","golang","ton","ton-client","ton-sdk","wrapper"],"created_at":"2026-02-04T23:14:46.664Z","updated_at":"2026-02-04T23:14:49.599Z","avatar_url":"https://github.com/radianceteam.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TON SDK client Golang\n\n[![EVER-SDK](https://img.shields.io/badge/EVER_SDK-1.44.2-green.svg)](https://github.com/tonlabs/EVER-SDK/tree/1.44.2)\n[![TON local-node docker image](https://img.shields.io/badge/TON_local_node-0.39.0-green.svg)](https://hub.docker.com/layers/local-node/tonlabs/local-node/0.39.0/images/sha256-40a544432089f2d730f3dd0542fcb59bef6c5192b5d374fdae3a7ea6417070c4)\n[![Chat Telegram](https://img.shields.io/badge/chat-Telegram-9cf.svg)](https://t.me/RADIANCE_EVER_SDK)\n[![Documentation](https://godoc.org/github.com/radianceteam/everscale-client-go/client?status.svg)](https://godoc.org/github.com/radianceteam/everscale-client-go/client)\n![CI tests and linters](https://github.com/radianceteam/everscale-client-go/workflows/CI/badge.svg)\n\n## Preparations\n\nOne needs to install\n- [Golang](https://golang.org/doc/install)\n- [EVER-SDK](https://github.com/tonlabs/EVER-SDK#download-precompiled-binaries) - download precompiled binaries and extract them\n\n### EVER-SDK installation - Mac OS\n```bash\nexport EVER_SDK_INSTALLATION_PATH=`pwd`/tmp # example - should be specified as absolute path\n# clean previous installation in case of reinstalling\nrm -f $EVER_SDK_INSTALLATION_PATH/libton_client.dylib.gz $EVER_SDK_INSTALLATION_PATH/libton_client.dylib\n# download binaries\nwget https://binaries.tonlabs.io/tonclient_1_darwin.gz -O $EVER_SDK_INSTALLATION_PATH/libton_client.dylib.gz\n# extract binaries\ngzip -d $EVER_SDK_INSTALLATION_PATH/libton_client.dylib.gz\n# make extracted file executable\nchmod +x $EVER_SDK_INSTALLATION_PATH/libton_client.dylib\n# set loading by absolute path\ninstall_name_tool -id $EVER_SDK_INSTALLATION_PATH/libton_client.dylib $EVER_SDK_INSTALLATION_PATH/libton_client.dylib\n\n# Better to add this to ~/.bashrc or ~/.zshrc to DRY in terminal each time you use it\nexport CGO_LDFLAGS=\"-L$EVER_SDK_INSTALLATION_PATH -lton_client\"\n```\n\n### EVER-SDK installation - Linux\n```bash\nEVER_SDK_INSTALLATION_PATH=`pwd`/tmp # example - should be specified as absolute path\n# clean previous installation in case of reinstalling\nrm -f $EVER_SDK_INSTALLATION_PATH/libton_client.so.gz $EVER_SDK_INSTALLATION_PATH/libton_client.so\n# download binaries\nwget https://binaries.tonlabs.io/tonclient_1_linux.gz -O $EVER_SDK_INSTALLATION_PATH/libton_client.so.gz\n# extract binaries\ngzip -d $EVER_SDK_INSTALLATION_PATH/libton_client.so.gz\n# make extracted file executable\nchmod +x $EVER_SDK_INSTALLATION_PATH/libton_client.so\n\n# Better to add this to ~/.bashrc or ~/.zshrc to DRY in terminal each time you use it\nexport LD_LIBRARY_PATH=$EVER_SDK_INSTALLATION_PATH:$LD_LIBRARY_PATH\nexport CGO_LDFLAGS=\"-L$EVER_SDK_INSTALLATION_PATH -lton_client\"\n```\n\n## Run\n\nOne needs to specify compiled DLL directory path:\n```shell script\nexport CGO_LDFLAGS=\"-L$EVER_SDK_INSTALLATION_PATH -lton_client\"\ngo build ./cmd/cli\ngo run ./cmd/cli\n# or\ntask run\n```\n\nOn Linux one needs to provide search path for DLL loader:\n```shell script\nexport LD_LIBRARY_PATH=$EVER_SDK_INSTALLATION_PATH:$LD_LIBRARY_PATH\n```\n\n## Wrapper usage\n\nFor examples see `cmd/cli/main.go` and run it via `go run ./cmd/cli`.\nThis wrapper covers 100% of functionality for EVER-SDK.\nAll non-generated code has test coverage at least of 70% - one can see it via `task coverage`.\n\n## Tests\n\n```shell script\nexport CGO_LDFLAGS=\"-L$EVER_SDK_INSTALLATION_PATH -lton_client\"\ndocker run -d --name local-node -p80:80 tonlabs/local-node:0.39.0\ntask test # tests without node\ntask full_test # tests including with node\ntask coverage # full_test with coverage\n```\n\n## Development\n\nYou need to install:\n- [golangci-lint](https://github.com/golangci/golangci-lint).\n- [Taskfile](https://taskfile.dev/) (optional)\n\nSee available task commands via `task` without arguments.\nTo attach git hooks run `task attach_hooks`\n\n### Code generation\n\nMost of the code is generated via script in `./cmd/gen/gen.go` from spec `api-spec.json`\none can regenerate it via `task generate`.\n\n## Useful reading\n\n- https://medium.com/@donblas/fun-with-rpath-otool-and-install-name-tool-e3e41ae86172 - about DLL linking\n- https://github.com/tonlabs/EVER-SDK/blob/1.5.2/docs/app_objects.md\n- https://eli.thegreenplace.net/2019/passing-callbacks-and-pointers-to-cgo/\n- https://dev.to/mattn/call-go-function-from-c-function-1n3\n- https://docs.ton.dev/86757ecb2/p/71d7a8-samples/t/35f373 - example how to use GraphQL\n\n## Methods and types with manual implementation\n\nSee more at `spec/types.go`\n- processing.send_message\n- processing.wait_for_transaction\n- processing.process_message\n- net.subscribe_collection\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradianceteam%2Feverscale-client-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradianceteam%2Feverscale-client-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradianceteam%2Feverscale-client-go/lists"}