RubyCoin
Getting Started
Installing Ruby
rbenv
is recommended.
Using system Ruby is possible, just make sure you have bundler installed, i.e. $ gem install bundler
.
Installing Node
Node.js and NPM are required to use Truffle. You should take a look at Yarn if you're planning to use npm a lot.
$ npm install -g truffle # yarn global add truffle for yarn users
Getting the repo
$ git clone [email protected]:ghivert/RubyCoin.git
$ cd RubyCoin
$ bundle install
About Truffle
You'll find everything you need on their website.
You'll need to download Ganache.
Getting the Ethereum toolchain
Solidity is required too. You can find documentation on installation on their page. Be careful to install solc
and not solc-js
.
You're good to go!
Useful stuff
Atom text editor with linter-solidity
.
Solium to lint solidity code.
How to run the dApp?
Launch Ganache.
$ truffle migrate
$ bundle exec inesita server
Go to http://localhost:9292/
How to use the app?
- On your favorite web browser (chosen between Chrome, Firefox, Opera or Brave), download Metamask.
- Click on
import from seed phrase
. - Get your seed phrase from Ganache.
- Create your Metamask account from this seed.
- Create a password.
- Accept the conditions.
- You're set up!