Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/koshikraj/diving_into_ethereum
Diving into Ethereum development
https://github.com/koshikraj/diving_into_ethereum
blockchain ethereum solidity voting
Last synced: 18 days ago
JSON representation
Diving into Ethereum development
- Host: GitHub
- URL: https://github.com/koshikraj/diving_into_ethereum
- Owner: koshikraj
- Created: 2018-08-20T07:08:42.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-02T05:42:13.000Z (over 1 year ago)
- Last Synced: 2024-10-11T02:53:21.893Z (about 1 month ago)
- Topics: blockchain, ethereum, solidity, voting
- Language: JavaScript
- Size: 1.27 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Setup the Ethereum ecosystem
The Ethereum ecosystem can be setup locally for development purpose or we can connect to a real blockchain.
The local blockchain can be setup using an in-memory blockchain called Ganache.Make sure that you have a latest version of `nodejs` and `npm`. Here is a [install guide](https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04) for Ubuntu system.
## Install local blockchain (Ganache)
`sudo npm install -g ganache-cli [email protected]`
## Install mainnet/testnet blockchain client (Optional)
Mac OSX:
```
brew tap ethereum/ethereum
brew install ethereum
```Ubuntu:
```
sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum
```## Run the Ethereum node:
```
geth --rinkeby --syncmode "fast" --rpc --rpcapi db,eth,net,web3,personal --cache=1024 --rpcport 8545 --rpcaddr 127.0.0.1 --rpccorsdomain "*"
```# Setup a development environment
We can start the Ethereum development from scratch or use an existing framework such as truffle.
## Truffle framework
Truffle framework makes the development and deployment process smoother by creating a framework for development.
The the framework will help to easily create and deploy the DApp.```
sudo npm install -g truffle```
Create an issue if there is any flaw in the documentation or the contract.
You are also welcome to contribute to the project:
* Create a feature issue
* Fork the repo
* Commit your changes with appropriate message and also point the created issue
Ex: fixes proof of ownership contract: issue #1
* Create a Pull request (PR) from your repo to this repo
* Point the issue in a comment of the PR.
Thanks!