@1hive/apps-token-manager 中文文档教程

发布于 3年前 浏览 23 更新于 3年前

Tokens

1Hive 的 Tokens 应用是 Aragon Token Manager 的一个分支,用于管理组织代币的供应和分配。

Project Stage: Production

1Hive Tokens 应用程序已发布到 Rinkeby 和 xDai 网络上的 open.aragonpm.eth。 如果您遇到任何问题或有兴趣参与贡献,请查看我们的未解决的问题

Security Review Status: pre-audit

此存储库中的代码尚未经过审核。

How to run 1Hive Tokens locally

首先确保您已安装并运行节点和纱线。 您还需要启用 Metamask 或某种网络钱包才能在浏览器中签署交易。

Git 克隆这个仓库。

git clone https://github.com/1Hive/token-manager-app.git

导航到 token-manager-app 目录。

cd token-manager-app

安装 npm 依赖项。

yarn

使用 buidler 启动 Hooked Token Manager 的开发版本

yarn start

一个新选项卡应该出现在您的浏览器中。 现在,前端代码或智能合约的任何更改都将自动应用。

How to deploy 1Hive Tokens to an organization

1Hive 代币已在 hooked-token-manager.open.aragonpm.eth 上发布到 Rinkeby 和 xDai 上的 APM。

它可以用作常规令牌管理器,但定义了一个额外的 ROLE (SET_HOOK_ROLE) 和两个新函数 (registerHook(address)revokeHook(uint256) )。

Contributing

我们欢迎社区贡献!

请查看我们的未解决的问题以开始使用。

如果您发现可能影响安全的事情,请立即通知我们。 联系我们的最快方式是通过我们 Discord 聊天室 中的#dev 频道。 只要打个招呼,你发现了一个潜在的安全漏洞,我们就会私信给你讨论细节。

Tokens

1Hive's Tokens app is a fork of Aragon Token Manager which is used to manage the supply and distribution of an organization's token.

???? Project Stage: Production

The 1Hive Tokens app has been published to open.aragonpm.eth on Rinkeby and xDai networks. If you experience any issues or are interested in contributing please see review our open issues.

???? Security Review Status: pre-audit

The code in this repository has not been audited.

How to run 1Hive Tokens locally

First make sure that you have node and yarn installed and working. You'll also need to have Metamask or some kind of web wallet enabled to sign transactions in the browser.

Git clone this repo.

git clone https://github.com/1Hive/token-manager-app.git

Navigate into the token-manager-app directory.

cd token-manager-app

Install npm dependencies.

yarn

Start a development version of the Hooked Token Manager with buidler

yarn start

A new tab should appear in your browser. Now, any change in the frontend code or smart contract will automatically be applied.

How to deploy 1Hive Tokens to an organization

1Hive Tokens has been published to APM on Rinkeby and xDai at hooked-token-manager.open.aragonpm.eth.

It can be used as a regular Token Manager, but define an extra ROLE (SET_HOOK_ROLE), and two new functions (registerHook(address) and revokeHook(uint256)).

Contributing

We welcome community contributions!

Please check out our open Issues to get started.

If you discover something that could potentially impact security, please notify us immediately. The quickest way to reach us is via the #dev channel in our Discord chat. Just say hi and that you discovered a potential security vulnerability and we'll DM you to discuss details.

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文