@adacash/lib 中文文档教程
adacash-lib
在 Adacash 合约之间共享的 Solidity 库。 这些图书馆专注于安全和气体效率。
Install
运行 yarn
以安装依赖项。
Test
运行 yarn test
来执行测试套件。
Usage
通过 yarn add @adacash/lib
在另一个项目中安装它
然后通过以下方式导入合同:
import '@adacash/lib/contracts/libraries/Babylonian.sol';
adacash-lib
Solidity libraries that are shared across Adacash contracts. These libraries are focused on safety and gas efficiency.
Install
Run yarn
to install dependencies.
Test
Run yarn test
to execute the test suite.
Usage
Install this in another project via yarn add @adacash/lib
Then import the contracts via:
import '@adacash/lib/contracts/libraries/Babylonian.sol';