neo-ico-template

新项目的 ICO 模板。(An ICO Template for NEO projects)

Github星跟踪图

Considerations

An article describing this template is available here:

https://medium.com/neon-exchange/nex-ico-template-4ca7ba19fc8b

Requirements

Usage requires Python 3.6+

Installation

Clone the repository and navigate into the project directory.
Make a Python 3 virtual environment and activate it via

python3 -m venv venv
source venv/bin/activate

or to explicitly install Python 3.6 via

virtualenv -p /usr/local/bin/python3.6 venv
source venv/bin/activate

Then install the requirements via

pip install -r requirements.txt

Compilation

The template may be compiled as follows

from boa.compiler import Compiler

Compiler.load_and_save('ico_template.py')

This will compile your template to ico_template.avm

Running tests

  1. Install requirements_test.txt
pip install -r requirements_test.txt

  1. Run tests
python -m unittest discover tests

Testnet Deployed Details

For testing purposes, this template is deployed on testnet with the following contract script hash:

0b6c1f919e95fe61c17a7612aebfaf4fda3a2214

{
    "code": {
        "parameters": "0710",
        "hash": "0b6c1f919e95fe61c17a7612aebfaf4fda3a2214",
        "returntype": 5,
        "script": ".. omitted .."
    },
    "version": 0,
    "code_version": ".2",
    "name": "NEX Ico Template",
    "author": "localhuman",
    "description": "An ICO Template",
    "properties": {
        "dynamic_invoke": false,
        "storage": true
    },
    "email": "tom@neonexchange.org"
}

主要指标

概览
名称与所有者nash-io/neo-ico-template
主编程语言Python
编程语言Python (语言数: 1)
平台
许可证GNU General Public License v3.0
所有者活动
创建于2017-12-12 00:14:41
推送于2022-04-06 17:33:35
最后一次提交2018-07-21 21:21:00
发布数1
最新版本名称v0.1.0 (发布于 )
第一版名称v0.1.0 (发布于 )
用户参与
星数117
关注者数26
派生数56
提交数32
已启用问题?
问题数13
打开的问题数7
拉请求数10
打开的拉请求数10
关闭的拉请求数5
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?