{"id":19566244,"url":"https://github.com/rtradeltd/rtns","last_synced_at":"2026-04-13T17:32:07.297Z","repository":{"id":57484775,"uuid":"188160637","full_name":"RTradeLtd/rtns","owner":"RTradeLtd","description":" 🌌 rtns is a IPNS publishing service for use with the krab keystore manager","archived":false,"fork":false,"pushed_at":"2020-02-11T01:01:31.000Z","size":456,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-09T00:12:27.814Z","etag":null,"topics":["golang","ipfs","ipns","key-management","libp2p","temporal"],"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/RTradeLtd.png","metadata":{"files":{"readme":"README-zh.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}},"created_at":"2019-05-23T04:18:07.000Z","updated_at":"2021-03-05T15:57:09.000Z","dependencies_parsed_at":"2022-08-26T11:10:33.159Z","dependency_job_id":null,"html_url":"https://github.com/RTradeLtd/rtns","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RTradeLtd%2Frtns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RTradeLtd%2Frtns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RTradeLtd%2Frtns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RTradeLtd%2Frtns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RTradeLtd","download_url":"https://codeload.github.com/RTradeLtd/rtns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240824913,"owners_count":19863748,"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":["golang","ipfs","ipns","key-management","libp2p","temporal"],"created_at":"2024-11-11T05:30:27.915Z","updated_at":"2026-04-13T17:32:07.197Z","avatar_url":"https://github.com/RTradeLtd.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RTNS\n\n[![GoDoc](https://godoc.org/github.com/RTradeLtd/rtns?status.svg)](https://godoc.org/github.com/RTradeLtd/rtns) [![codecov](https://codecov.io/gh/RTradeLtd/rtns/branch/master/graph/badge.svg)](https://codecov.io/gh/RTradeLtd/rtns) [![Build Status](https://travis-ci.com/RTradeLtd/rtns.svg?branch=master)](https://travis-ci.com/RTradeLtd/rtns) ![GitHub release](https://img.shields.io/github/release/RTradeLtd/rtns.svg?style=flat-square)\n\nRTNS (RTrade 命名系统) 是一个独立的IPNS记录管理服务，通过与[kaas](https://github.com/RTradeLtd/kaas)搭配使用来增强IPNS记录发布的安全性..\n\n它本质上是 [go-ipfs/namesys](https://github.com/ipfs/go-ipfs/tree/master/namesys) 的优化版。\n\n## 多语言\n\n[![](https://img.shields.io/badge/Lang-English-blue.svg)](README.md)  [![jaywcjlove/sb](https://jaywcjlove.github.io/sb/lang/chinese.svg)](README-zh.md)\n\n## 用例\n\n导入依赖包:\n\n```Golang\nimport \"github.com/RTradeLtd/rtns\"\n```\n你需要初始化一个libp2p服务，并提供一个分布式哈希表作为构造函数的参数传入。该依赖包含一个辅助工具，可以将KaaS客户端转化为有效的密钥库接口类型。\n\n## 开发\n\n### 使用`$GOPATH`\n\n可参考: https://splice.com/blog/contributing-open-source-git-repositories-go/\n\n1. 拉取仓库新分支\n2. 克隆仓库： `git clone git@github.com:RTradeLtd/rtns.git $GOPATH/src/github.com/RTradeLtd/rtns`\n3. 运行：`cd $GOPATH/src/github.com/RTradeLtd/rtns`\n3. 启动远端服务：\n\n```bash\ngit remote rename origin upstream\ngit remote add origin git@github.com:\u003cyour-github-username\u003e/rtns.git\n```\n4. 添加全局环境变量：`export GO111MODULE=on` to `.bashrc` or `.bash_profile` (if you're on a Mac) or `.zshrc` (if you're using [zsh](https://github.com/robbyrussell/oh-my-zsh))。运行 `source \u003crc-file\u003e`来确保\n5. 运行 `go mod download` 来安装依赖\n6. 运行测试脚本： `go test ./...`\n\n### 外部 $GOPATH\n\n1. 在你机器的任意位置拉取并克隆新分支\n2. 运行： `cd rtns`\n3. 新建一个远程流仓库\n\n```bash\ngit remote add upstream git@github.com:RTradeLtd/rtns.git\n```\n4. 运行`go mod download` 来下载依赖\n5. 运行 `go test ./...`进行测试\n\n## 限制\n\n* 在Temporal中使用时，因为KaaS系统故障所产生的任意密钥都不适合自动重新发布\n\n## 未来发展\n\n* DNSLink支持\n* 以TNS (Temporal Name Server) 网关的形式表现。\n* 启用KaaS后端监听服务支持\n  * 在遇到上述KaaS故障和错误时，将反复轮训检索所有可用KaaS主机的私钥信息。\n* 为IPNS pubsub启用自动主题订阅\n  * 这将涉及使用rtfs来调用IPFS节点，为主题建立订阅信息。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtradeltd%2Frtns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtradeltd%2Frtns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtradeltd%2Frtns/lists"}