erc1820-predeployed-0.0.1a1
توضیحات
A tool for generating predeployed ERC1820Registry smart contract
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | erc1820-predeployed-0.0.1a1 |
| نام | erc1820-predeployed |
| نسخه کتابخانه | 0.0.1a1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Vadim Yavorsky |
| ایمیل نویسنده | vadim@skalelabs.com |
| آدرس صفحه اصلی | https://github.com/skalenetwork/erc1820-predeployed |
| آدرس اینترنتی | https://pypi.org/project/erc1820-predeployed/ |
| مجوز | - |
# erc1820-predeployed
## Description
A tool for generating predeployed ERC1820Registry smart contract
## Installation
```console
pip install erc1820-predeployed
```
## Usage example
```python
from erc1820_predeployed import ERC1820RegistryGenerator, ERC1820_REGISTRY_ADDRESS
erc1820_registry_generator = ERC1820RegistryGenerator()
genesis = {
# genesis block parameters
'alloc': {
**erc1820_registry_generator.generate_allocation(
contract_address=ERC1820_REGISTRY_ADDRESS
)
}
}
```
نیازمندی
| مقدار | نام |
|---|---|
| >=1.1.0a1 | predeployed-generator |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl erc1820-predeployed-0.0.1a1:
pip install erc1820-predeployed-0.0.1a1.whl
نصب پکیج tar.gz erc1820-predeployed-0.0.1a1:
pip install erc1820-predeployed-0.0.1a1.tar.gz