Giter Site home page Giter Site logo

bcaptoken's Introduction

Blockchain Capital Token Smart Contract

Blockchain Capital Token Smart Contract. Copyright © 2017 by ABDK Consulting.

How to Deploy

In order to deploy Blockchain Capital Token Smart Contract you need the following software to be properly installed on your system:

  1. Geth 1.5.2+ (https://geth.ethereum.org/)

Also, you need Ethereum node running on your system and synchronized with the network. If you do not have one, you may run it via one of the following commands depending on whether you want to connect to PRODNET or TESTNET:

geth
geth --testnet

If you are running Ethereum node for the first time, you may also add "--fast" flag to speed up initial synchronization:

geth --fast
geth --testnet --fast

Also you need at least one account in your node. If you do not have any accounts, you may create one using the following commands:

geth attach
> personal.newAccount ();
> exit

It will ask you to choose passphrase and enter it twice, and it will output an address of your new created account.

You will also need some ether on your primary account.

In order to deploy Blockchain Capital Token Smart Contract do the following:

  1. Go to the directory containing deployment script, i.e. file named BCAPTokenDeploy.js.
  2. Attach to your local Ethereum node: geth attach
  3. Set token issuer address like this: var tokenIssuer = "0xe489665cc93a8e3286bdd70a4e513360bcb14a48";
  4. Unlock your primary account: personal.unlockAccount (web3.eth.accounts [0]); (you will be asked for your passphrase here)
  5. Run deployment script: loadScript ("BCAPTokenDeploy.js");
  6. If everything will go fine, after several seconds you will see message like the following: Deployed at ... (tx: ...), which means that your contract was deployed (message shows address of the contract and hash of the transaction the contract was deployed by)

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.