If you’ve haven’t set up a privet net already, please do so by taking a look at my previous articles, & . 1 2 3 Before we begin, we need to cover the topic of ; what is it? A smart contract is a set of functional code (not object-oriented!), written to the blockchain via transaction and callable by wallets thereafter. A major advantage of NEO is that it supports many of today’s most well known languages such as Our articles focus on the use of Python. smart contracts C#, Python, Java … What is ? Similar to ERC20 for , NEP-5 is a currency standard, recommending that you implement a couple of predefined functions ( ). As with any standardization system, this allows digital wallets to focus on its demographic preferences without worrying about the token, while you [o lovely smart contract developer] does not need to worry about the user experience! NEP-5 Ethereum name, symbol, balanceOf, transfer … Lastly we cannot talk about deployment without talking about the ! We will need a compiler because NEO nodes do not understand Python or Java or C# or any other high level language. Instead, it understands byte code and it is the job of the compiler to translate it for us! Our compiler of choice will be : taking our NEP-5 compliant python smart contract, and turn it into byte-code or machine readable code. compiler Neo-boa : code → compile → deploy! let’s start! Workflow summary create your wallet Step 1: Open up the neo-prompt in Ubuntu, , . Then: source venv/bin/activate np-prompt -p <server ip> create wallet testWallet1 enter a 10 character (minimum) password gathering funds Step 2: Your new wallet has no GAS in it … but you need some to deploy contracts. Luckily, the already has an importable WIF/private key with money inside. (obviously) network import wif KxDgvEKzgSBPPfuVfw67oPQBSjidEiqTHURKSDL1R7yGaGYAeYnrwallet rebuild *the WIF may change at any time, refer to the documentation here pulling the an NEP-5 standard template from the internet Step 3: I will assume you already have installed on your local. Open up a new : git command prompt :you may want to use the same base path as your neo-python installcd <storage location>git clone https://github.com/neonexchange/neo-ico-template : installing Neo-boa (compiler) Step 4 :you may want to use the same base path as your neo-python installcd <storage location>git clone https://github.com/CityOfZion/neo-boa.git cd neo-boa/python3.6 -m venv venvsource venv/bin/activate pip install -r requirements.txt editing the smart contract code: getting the wallet hash Step 5: Go to your np-prompt console, and type , you will see the following: wallet example testnet wallet Copy the script hash at the top, mine is b’\xc6\x04\x1c\x97\x15\xc1\xe4\x87/\xe5\xbf\xd4\t\xf5\xe1\sbd_>\scd\xf8' Using your favorite editor, open up . replace the TOKEN_OWNER with your own wallet hash. <smartcontract>/nex/token.py Rename TOKEN_NAME and TOKEN_SYMBOL to anything you want! Now you are ready to compile and deploy your NEP5 smart contract! personalized is a marketing platform for local business, generating engagement through small activities and rewarding users with cryptocurrency they can later spend on stores. Check us out and give us your feedback on , and ! Nodis.io Instagram Facebook Telegram Follow me and as well! Instagram Facebook Deploying a NEP-5 smart contract (part 2) Next week’s guide: Quick thanks to and the NEX team for providing such an awesome smart contract template to explore! thomas saunders