SBCoin is a standard ERC20 token developed using Solidity.
It is built upon zeppelin-solidity
to ensure stability and security, as well as ERC20 compliance.
In order to run the project on your local machine some requirements need to be installed.
First install npm
which is distributed with Node.js.
https://nodejs.org/en/download/
Truffle is a development environment, testing framework and asset pipeline for Ethereum, aiming to make life as an Ethereum developer easier. It can be used to compile, deploy and test smart contracts.
npm install -g truffle
Provides a local development blockchain server.
npm install -g ganache-cli
MetaMask is a browser extension that allows you to interact with the Ethereum blockchain.
These are the instructions to get the project up and running on your local blockchain.
ganache-cli
cd SBCoin
truffle compile
truffle migrate
Local development HTTP server needed to interact with the front-end of the project.
npm run dev
Set the network in your MetaMask to Localhost 8545.
That's it. Now you can use the front-end to interact with the smart contract on your local blockchain and sign transactions with MetaMask.