• Stars
    star
    118
  • Rank 298,173 (Top 6 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created almost 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An ICO Template for NEO projects

Neo ICO Template

A template for NEP5 Compliant Tokens on the NEO platform


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": "[email protected]"
}

More Repositories

1

openlimits

A Rust high performance cryptocurrency trading API with support for multiple exchanges and language wrappers.
Rust
272
star
2

jocko

Kafka implemented in Golang with built-in coordination (No ZooKeeper, single binary install, Cloud Native)
Go
103
star
3

nex-extension-alpha

WARNING: This repository is not current Nash extension, this was a alpha version (v0.1.0) available for security audit and developers. For issues regarding current versions of the extension please visit: https://support.nash.io
JavaScript
18
star
4

api-client-typescript

Official TypeScript client for interacting with the Nash Exchange.
TypeScript
14
star
5

nash-protocol

Typescript implementation of Nash cryptographic routines.
TypeScript
10
star
6

locale

Nash platform language package
TypeScript
9
star
7

staking

Repository for staking Smart Contract
Python
8
star
8

public-mpc-wallet

Rust
8
star
9

lottery-round-1

Methodology for determining lottery winners and lottery results.
JavaScript
8
star
10

ramp-widget-sdk

Include a Nash fiat ramp widget in any webpage.
TypeScript
6
star
11

openlimits-python

OpenLimits exchange SDK in Python. Provides uniform API support for multiple cryptocurrency exchanges
Rust
5
star
12

openlimits-java

Rust
3
star
13

nash-react-starter

JavaScript
3
star
14

nash-rust

Nash libraries and tools in Rust
Rust
3
star
15

nashlink-plugins-and-sdks

Nash Link official documentation, platform plugins and language SDKs
PHP
3
star
16

python-makerbot

Python
2
star
17

base58check

Elixir
1
star
18

nex-token

NEX Token Smart Contract
Python
1
star
19

ico-round2-lottery

NEX ICO Round 2 Lottery
JavaScript
1
star
20

openlimits-csharp

C#
1
star
21

third-party-fiat-ramps

Example integration with Nash third-party fiat ramps
JavaScript
1
star