Coder Social home page Coder Social logo

spark-tezos's Introduction

Spark: A Deflationary Token on the Tezos Blockchain

Table of Contents

  1. Description
  2. Environment Setup

Description

With Spark Token, we will observe the effects of deflationary tokens on long term price stability. We followed the Bomb Token’s model of burning a percentage of transacted amounts, steadily and gradually decreasing the total token supply to achieve our token’s deflationary nature. Deployed on the Tezos platform with an initial supply of one million tokens, Spark will burn 2% of transactions. No new coins will be minted. This project is still in very early development phase. The token is yet to be released to the public.

Whitepaper: Link

Reddit: Link

Contract: Not deployed on the mainnet yet.

Environment Setup

On Linux

  1. Update system:
$ sudo apt-get update
  1. Install libraries:
$ sudo apt install -y rsync git m4 build-essential patch unzip bubblewrap wget
  1. Download opam compiler:
$ https://github.com/ocaml/opam/releases/download/2.0.5/opam-2.0.5-x86_64-linux
  1. Copy opam compiler into bin:
$ sudo cp opam-2.0.5-x86_64-linux /usr/local/bin/opam
  1. Run tezos node:
$ docker run --rm -it tezos/tezos:mainnet tezos-node
  1. Give permission to use the compiler:
$ sudo chmod a+x /usr/local/bin/opam
  1. Fetch Gitlab Tezos Folder:
$ git clone https://gitlab.com/Tezos/Tezos.git
  1. Change your directory to the Tezos folder:
$ cd Tezos
$ opam init --bare
  1. The client will now prompt you to answer 2 questions, simply enter 'n' for both:
$ make build-deps
  1. Ignore the warning 'No repository Tezos found' and continue:
$ eval $(opam env)
$ make
$ export PATH=~/Tezos:$PATH
$ source ./src/bin_client/bash-completion.sh
$ export TEZOS_CLIENT_UNSAFE_DISABLE_DISCLAIMER=Y

Using Docker Images

Please refer to this guide, but to summarize the key points:

  1. You will need a working installation of Docker and docker-compose on a machine with architecture x86_64. If you wish to install via terminal, refer to this guide on installing docker via terminal on various operating systems.

  2. In your terminal, run the following commands:

$ wget -O carthagenet.sh https://gitlab.com/tezos/tezos/raw/latest-release/scripts/tezos-docker-manager.sh
$ chmod +x carthagenet.sh
$ ./carthagenet.sh start

This should download the carthage testnet on your machine. Locate it on your computer and place it in a directory of your choice. Note that test networks are updated regularly, so please ensure that you are getting the latest test network in the future instead of carthagenet. Alphanet and babylonnet were the test networks before carthagenet, and carthagenet will be replaced like those old networks later in time.

  1. You should be able to run your Tezos node and Michelson scripts on carthagenet now.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.