{"id":14156383,"url":"https://github.com/anyproto/any-ns-node","last_synced_at":"2025-04-14T18:42:21.862Z","repository":{"id":187444183,"uuid":"669193976","full_name":"anyproto/any-ns-node","owner":"anyproto","description":"dRPC node for Any Naming System","archived":false,"fork":false,"pushed_at":"2024-04-12T21:00:19.000Z","size":5663,"stargazers_count":5,"open_issues_count":5,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-04-13T20:43:14.998Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/anyproto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2023-07-21T15:15:05.000Z","updated_at":"2024-04-16T16:36:22.691Z","dependencies_parsed_at":"2023-08-10T12:44:15.065Z","dependency_job_id":"4238e83d-a95b-47c6-949d-37608fc9e5bb","html_url":"https://github.com/anyproto/any-ns-node","commit_stats":null,"previous_names":["anyproto/any-ns-node"],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyproto%2Fany-ns-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyproto%2Fany-ns-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyproto%2Fany-ns-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyproto%2Fany-ns-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anyproto","download_url":"https://codeload.github.com/anyproto/any-ns-node/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248938361,"owners_count":21186393,"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-08-17T08:05:25.457Z","updated_at":"2025-04-14T18:42:21.838Z","avatar_url":"https://github.com/anyproto.png","language":"Go","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# Any Naming System node\nPlease see [Any Naming System repository](https://github.com/anyproto/any-ns) for rationale and more info.\n\nThis global singleton node provides access to AnyNS smart contracts. You can call smart contracts either directly or by using _this_ dRPC service. \n\n## Building and Running\n1. To build: `make deps build`\n2. To run: `go run ./cmd --c=NODE_CONFIG`\n3. To run as a client: `go run ./cmd --c=CLIENT_CONFIG --cl --cmd=COMMAND --params=PARAMS_JSON`\n\n## Available client commands\n\n### 1. is-name-available\nCheck if name is available. If not - it will return information\nParameters: `'{ \"FullName\": \"xxx.any\"}'`.\nExample: `go run ./cmd --c=config-client.yml --cl --cmd=is-name-available --params='{ \"FullName\": \"xxx.any\"}'`\n\n### 2. name-register\nCreate an operation to register a new name.\nParameters: `'{ \"FullName\": \"suppa.any\", \"OwnerAnyAddress\": \"A6WVkd1MxX1i7hGQCcDhMFvfEzokPppRzxve2wdhTZ8jZTio\", \"OwnerEthAddress\": \"0xe595e2BA3f0cE990d8037e07250c5C78ce40f8fF\", \"SpaceId\": \"bafybeibs62gqtignuckfqlcr7lhhihgzh2vorxtmc5afm6uxh4zdcmuwuu\"}'`.\n\n## .yml config files\nPlease see example in the 'etc' subfolder.\nNOTICE: in order to call methods as an Admin - `account.signKey` should be used to sign messages.\nThat's why you can run N ns nodes with different `account.peerId` and `account.peerKey` but with SAME `account.signKey`.\n\n### Contracts section\n\n```\ncontracts:\n  // use your own geth node or Infura/Alchemy/Moralis/etc API\n  gethUrl: https://sepolia.infura.io/v3/XXX\n\n  // https://github.com/anyproto/any-ns/blob/master/deployments/sepolia/ENSRegistry.json\n  ensRegistry: 0xc0D3c96aE923Da6b45E6d4c21a0424730a20BCA9\n\n  // https://github.com/anyproto/any-ns/blob/master/deployments/sepolia/AnytypeResolver.json\n  resolver: 0x34F9c5CB9b6dcc036e045a15af20CEdC0dE4dcB2\n\n  // https://github.com/anyproto/any-ns/blob/master/deployments/sepolia/AnytypeRegistrarImplementation.json\n  registrarController: 0x6BA138bb7B1Bdea2B127D55D7C8F0DC9467b424E\n\n  // https://github.com/anyproto/any-ns/blob/master/deployments/sepolia/AnytypeRegistrarControllerPrivate.json\n  registrarControllerPrivate: 0x45bA047AD44e35FbF5A1375F79ea3872ceDB1732\n\n  // https://github.com/anyproto/any-ns/blob/master/deployments/sepolia/AnytypeNameWrapper.json\n  nameWrapper: 0xFe69BF9B3fD69d09977b37b5953C8B43687f3B23\n\n  // Admin address\n  admin: 0x61d1eeE7FBF652482DEa98A1Df591C626bA09a60\n  \n  // Admin key\n  adminPk: XXX\n```\n\n## Contribution\n\n Thank you for your desire to develop Anytype together!\n\n ❤️ This project and everyone involved in it is governed by the [Code of Conduct](https://github.com/anyproto/.github/blob/main/docs/CODE_OF_CONDUCT.md).\n\n 🧑‍💻 Check out our [contributing guide](https://github.com/anyproto/.github/blob/main/docs/CONTRIBUTING.md) to learn about asking questions, creating issues, or submitting pull requests.\n\n 🫢 For security findings, please email [security@anytype.io](mailto:security@anytype.io) and refer to our [security guide](https://github.com/anyproto/.github/blob/main/docs/SECURITY.md) for more information.\n\n 🤝 Follow us on [Github](https://github.com/anyproto) and join the [Contributors Community](https://github.com/orgs/anyproto/discussions).\n\n---\n\nMade by Any — a Swiss association 🇨🇭\n\nLicensed under [MIT](./LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanyproto%2Fany-ns-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanyproto%2Fany-ns-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanyproto%2Fany-ns-node/lists"}