{"id":17493344,"url":"https://github.com/tokenysolutions/t-rex","last_synced_at":"2025-05-15T12:02:32.404Z","repository":{"id":35119114,"uuid":"160502607","full_name":"TokenySolutions/T-REX","owner":"TokenySolutions","description":"T-REX is a suite of smart contracts implementing the EIP 3643 and developed by Tokeny to manage and transfer financial assets on EVM blockchains","archived":false,"fork":false,"pushed_at":"2025-04-04T08:53:56.000Z","size":5883,"stargazers_count":221,"open_issues_count":7,"forks_count":139,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-05-15T12:02:14.843Z","etag":null,"topics":["blockchain","erc-20","erc-3643","erc20","erc20-tokens","erc3643","ethereum","securities","smartcontract","solidity","token"],"latest_commit_sha":null,"homepage":"https://tokeny.com/","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TokenySolutions.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-12-05T10:39:11.000Z","updated_at":"2025-04-25T12:06:22.000Z","dependencies_parsed_at":"2023-02-17T09:46:07.134Z","dependency_job_id":"45874759-8ec9-4ba1-96da-fd50592f3a4b","html_url":"https://github.com/TokenySolutions/T-REX","commit_stats":{"total_commits":274,"total_committers":6,"mean_commits":"45.666666666666664","dds":0.5583941605839415,"last_synced_commit":"a09cfd38aa257d56db7ff9c90f30e65f125a141b"},"previous_names":[],"tags_count":45,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TokenySolutions%2FT-REX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TokenySolutions%2FT-REX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TokenySolutions%2FT-REX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TokenySolutions%2FT-REX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TokenySolutions","download_url":"https://codeload.github.com/TokenySolutions/T-REX/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254337612,"owners_count":22054253,"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":["blockchain","erc-20","erc-3643","erc20","erc20-tokens","erc3643","ethereum","securities","smartcontract","solidity","token"],"created_at":"2024-10-19T12:06:42.407Z","updated_at":"2025-05-15T12:02:32.356Z","avatar_url":"https://github.com/TokenySolutions.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# T-REX : Token for Regulated EXchanges\n\n![GitHub](https://img.shields.io/github/license/TokenySolutions/T-REX?color=green) \n![GitHub release (latest by date)](https://img.shields.io/github/v/release/TokenySolutions/T-REX)\n![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/TokenySolutions/T-REX/publish-release.yml)\n![GitHub repo size](https://img.shields.io/github/repo-size/TokenySolutions/T-REX)\n![GitHub Release Date](https://img.shields.io/github/release-date/TokenySolutions/T-REX)\n\n\n\n\n----\n\n\u003cbr\u003e\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://tokeny.com/erc3643-whitepaper/\"\u003e\n  \u003cimg src=\"./docs/img/T-REX.png\" width=\"150\" title=\"t-rex\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\n## Overview\n\nThe T-REX (Token for Regulated EXchanges) protocol is a comprehensive suite of Solidity smart contracts, \nimplementing the [ERC-3643 standard](https://eips.ethereum.org/EIPS/eip-3643) and designed to enable the issuance, management, and transfer of security \ntokens in \ncompliance with regulations. It ensures secure and compliant transactions for all parties involved in the token exchange.\n\n## Key Components\n\nThe T-REX protocol consists of several key components:\n\n- **[ONCHAINID](https://github.com/onchain-id/solidity)**: A smart contract deployed by a user to interact with the security token or any other application \n  where an on-chain identity may be relevant. It stores keys and claims related to a specific identity.\n\n- **Trusted Issuers Registry**: This contract houses the addresses of all trusted claim issuers associated with a specific token.\n\n- **Claim Topics Registry**: This contract maintains a list of all trusted claim topics related to the security token.\n\n- **Identity Registry**: This contract holds the identity contract addresses of all eligible users authorized to hold the token. It is responsible for claim verification.\n\n- **Compliance Smart Contract**: This contract independently operates to check whether a transfer is in compliance with the established rules for the token.\n\n- **Security Token Contract**: This contract interacts with the Identity Registry to check the eligibility status of investors, enabling token holding and transactions.\n\n## Getting Started\n\n1. Clone the repository: `git clone https://github.com/TokenySolutions/T-REX.git`\n2. Install dependencies: `npm ci`\n3. Compile the contracts: `hardhat compile`\n4. Run tests: `hardhat test`\n\n## Documentation\n\nFor a detailed understanding of the T-REX protocol, please refer to the [whitepaper](./docs/TREX-WhitePaper.pdf).\nAll functions of T-REX smart contracts are described in the [T-REX documentation](https://docs.tokeny.com/docs/smart-contracts)\n\n## Contributing\n\nWe welcome contributions from the community. Please refer to the [CONTRIBUTING](./CONTRIBUTING.md) guide for more details.\n\n## License\n\nThis project is licensed under the [GNU General Public License v3.0](./LICENSE.md).\n\n----\n\n\u003cdiv style=\"padding: 16px;\"\u003e\n   \u003ca href=\"https://tokeny.com/wp-content/uploads/2023/04/Tokeny_TREX-v4_SC_Audit_Report.pdf\" target=\"_blank\"\u003e\n       \u003cimg src=\"https://hacken.io/wp-content/uploads/2023/02/ColorWBTypeSmartContractAuditBackFilled.png\" alt=\"Proofed by Hacken - Smart contract audit\" style=\"width: 258px; height: 100px;\"\u003e\n   \u003c/a\u003e\n\u003c/div\u003e\n\n----\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftokenysolutions%2Ft-rex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftokenysolutions%2Ft-rex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftokenysolutions%2Ft-rex/lists"}