Skip to content
forked from mossland/MossCoin

MossCoin (ERC-20) used in the Mossland project is disclosed. Mossland is a blockchain-based metaverse project that connects the real and virtual worlds. Moss Coin (MOC) is used for purchasing and trading NFTs in Mossland, rewarding P2E (Play to Earn) games, and exchanging digital assets and real products.

Notifications You must be signed in to change notification settings

HSSimp/MossCoin

 
 

Repository files navigation

follow on Twitter


📌 Deprecation Notice

This repository, ERC-20 based MossCoin, is deprecated and no more work will be done on this by Mossland because MossCoin was swapped to Luniverse Main Token(LMT).


Token Swap Guide and Contract Addresses


Requirements

Contracts

MossCoin is a token which is based on Zepplin StandardToken ERC-20 contract.

If you want to know more detailed information about this project, visit our website

Installation

  1. Install python3 and solc. follow install instruction on link.

  2. Initialize development environment. Execute the command below.

git clone --recursive git@github.com:MossCoin/MossCoin.git
cd MossCoin
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip3 install -r requirements.txt
  1. Test solc and populus are correctly installed:
$ solc --version
solc, the solidity compiler commandline interface
Version: 0.4.19+commit.c4cbbb05.linux.g++
populus
Usage: populus [OPTIONS] COMMAND [ARGS]...

  Populus

Options:
  ...
  1. Then, initialize private block chain for test:
bash scripts/init_local_chain.sh

Compile

You can compile solidity code by using populus compile command. Compile results are saved in build/contracts.json.

Test

If you want to test basic functionalities only, run py.test tests/testnet.

To test deploying token and more complexed functionalities, you need local private chain.

First, run local private chain by using the command below:

/chains/local/./run_chain.sh

Then, open another terminal and run test by using the command below:

py.test tests/localnet

About

MossCoin (ERC-20) used in the Mossland project is disclosed. Mossland is a blockchain-based metaverse project that connects the real and virtual worlds. Moss Coin (MOC) is used for purchasing and trading NFTs in Mossland, rewarding P2E (Play to Earn) games, and exchanging digital assets and real products.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 51.5%
  • Solidity 48.3%
  • Shell 0.2%