{"id":29089651,"url":"https://github.com/openzeppelin/token-vouching","last_synced_at":"2025-06-28T04:04:21.531Z","repository":{"id":42222167,"uuid":"165128929","full_name":"OpenZeppelin/token-vouching","owner":"OpenZeppelin","description":"Vouching contracts and scripts for the OpenZeppelin SDK token","archived":false,"fork":false,"pushed_at":"2022-12-30T17:23:40.000Z","size":2403,"stargazers_count":7,"open_issues_count":20,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-04-09T18:38:15.715Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenZeppelin.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-10T20:48:57.000Z","updated_at":"2023-04-09T18:38:15.715Z","dependencies_parsed_at":"2023-01-31T12:15:23.783Z","dependency_job_id":null,"html_url":"https://github.com/OpenZeppelin/token-vouching","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/OpenZeppelin/token-vouching","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenZeppelin%2Ftoken-vouching","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenZeppelin%2Ftoken-vouching/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenZeppelin%2Ftoken-vouching/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenZeppelin%2Ftoken-vouching/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenZeppelin","download_url":"https://codeload.github.com/OpenZeppelin/token-vouching/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenZeppelin%2Ftoken-vouching/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262371684,"owners_count":23300595,"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":"2025-06-28T04:04:19.055Z","updated_at":"2025-06-28T04:04:21.510Z","avatar_url":"https://github.com/OpenZeppelin.png","language":"JavaScript","readme":"# OpenZeppelin SDK token vouching\n\n**This project was formerly known as _ZeppelinOS vouching (zos-vouching)_. This documentation and the related npm package still use the old naming.**\n\n[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg)](https://github.com/RichardLitt/standard-readme)\n[![Build Status](https://api.travis-ci.com/zeppelinos/zos-vouching.svg?branch=master)](https://travis-ci.com/zeppelinos/zos-vouching)\n\n\u003e Vouching logic for the EVM packages of the ZeppelinOS smart contract platform\n\nZeppelinOS is a platform to develop, deploy and operate smart contract\nprojects on Ethereum and every other EVM and eWASM-powered blockchain.\n\nThis is the repository for the ZEP Token and the contracts to use it to vouch\nfor EVM Packages.\n\n## Background\n\nZeppelinOS provides a mechanism in which an EVM package can be registered and\nvouched for using ZEP tokens. The tokens vouched for an EVM package can be\nchallenged by other ZEP holders whenever a deficiency in the EVM package is\npresented for evaluation. In such a situation, the package's vouched tokens\ncould be slashed in favor of the challenger.\n\nThe end goal is that this simple mechanism will allow ZEP that is vouched for\nan EVM package to represent:\n\n* A measure of the quality of the code of the EVM package.\n* A measure of the support that the EVM package has from the community.\n* A financial buffer for the development of new features in the EVM package.\n* A financial buffer for the auditing of the code of the EVM package.\n\n## Install\n\nFirst, install [Node.js](http://nodejs.org/) and [npm](https://npmjs.com/).\nThen, install the vouching contracts running:\n\n```sh\nnpm install zos-vouching\n```\n\n## Usage\n\nCurrently, the ZeppelinOS vouching mechanism can be used only by calling the\n[Vouching.sol](contracts/Vouching.sol) contract directly. The address of this\ndeployed contract can be found in the `zos.\u003cnetwork\u003e.json` files, that have\njust been installed to the `node_modules/zos-vouching/` directory.\n\nFor example, open `truffle console --network \u003cnetwork\u003e` and run:\n\n```sh\ntruffle(\u003cnetwork\u003e)\u003e vouching = Vouching.at(\u003cvouching-contract-address\u003e)\n```\n\nThen create a dependency calling:\n\n```sh\ntruffle(\u003cnetwork\u003e)\u003e vouching.create(name, owner, dependencyAddress, initialStake)\n```\n\nWhere `name` is a string that will represent the dependency, `owner` is the\naddress of the account that will own the dependency, `dependencyAddress` is\nthe address of the EVM package and `initialStake` is the amount to be vouched.\n\nAfter the dependency is created, the owner can vouch or unvouch tokens to the\nEVM package:\n\n```sh\ntruffle(\u003cnetwork\u003e)\u003e vouching.vouch(name, amount)\n```\n\nor:\n\n```sh\ntruffle(\u003cnetwork\u003e)\u003e vouching.unvouch(name, amount)\n```\n\n## Security\n\nIf you find a security issue, please contact us at security@zeppelinos.org. We\ngive rewards for reported issues, according to impact and severity.\n\n## Maintainers\n\n* [@facuspagnuolo](https://github.com/facuspagnuolo/)\n* [@fiiiu](https://github.com/fiiiu)\n\n## Contribute\n\nTo contribute, join our\n[community channel on Telegram](https://t.me/zeppelinos) where you can talk to\nall the ZeppelinOS developers, contributors, partners and users.\n\nYou can also follow the recent developments of the project in our\n[blog](https://blog.zeppelin.solutions/) and\n[Twitter account](https://twitter.com/zeppelinorg).\n\n## License\n\n[MIT](LICENSE.md) © Zeppelin\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenzeppelin%2Ftoken-vouching","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenzeppelin%2Ftoken-vouching","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenzeppelin%2Ftoken-vouching/lists"}