I am new to ethereum blockchain.I want to create ICO based ERC20 token selling DAPP(Decentralized Application). I have created and deployed smart contract on ethereum private blockchain network and public blockchain network.

I want to design front-end so that end user can participate in the token sale.

I have some query regarding this.

I used truffle to create, deploy and test smart contracts. It is a totally decentralized system. So, How I store end user details in database. Which tools or framework used which help I integrate smart contract(solidity) back-end and fronted(user interface)

Is python web3.py library is successful to integrate ethereum solidity with python django ?

How I use web3.py library to connect solidity code with python?

It might be a silly question but here I want to understand this concept more deeply.

Please help to clear my above query.


closed as too broad by carver, Achala Dissanayake, Raghav Sood, Henk, Richard Horrocks Aug 24 '18 at 7:57

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • This is both a very broad question and quite a few questions in one post. High-quality posts focus on a single, specific question. I recommend focusing to avoid having the question closed. – carver Aug 22 '18 at 16:04

It's not advisable to store user data in the blockchain. You can use conventional databases to store user data and hashes of records stored in conventional databases in the blockchain. You can also use decentralized storage platforms such as IPFS or ethreum swarm. The challenge for using decentralized storage such as ethereum swarm or IPFS is that they don't have rich querying language like conventional databases. Decentralized storage platforms have advantages such as they are not susceptible to a single point of failure and data breaches.

List of tools that can be used for DAPP development -

1) Truffle framework - For development, testing and deployment of DAPP

2) Solidity - Language for smart contract development

3) Ganache - Client similar to Go-Ethereum(geth)

4) Web3.JS - JavaScript library to access smart contract

5) IPFS-Store - To store and query data in IPFS.

6) Metamask - Browse extension which enables a browser to access DAPP

7) React/Angular - Any conventional javascript library for front-end development

I hope this will help you!

  • I am thinking to use mysql with django to store user information.And connect solidity smart contract to python with web3.py library. Is it right way to work ?? – Anupam Jain Aug 22 '18 at 7:21
  • I have not explored web3.py, so not sure whether it will work? – Soham Lawar Aug 22 '18 at 7:22
  • You can use MySQL for storing user data – Soham Lawar Aug 22 '18 at 7:25
  • One thing I can't visualise. I will create frontend with js. But How I store end user details with IPFS. And how I use conventional database – Anupam Jain Aug 22 '18 at 7:26
  • If you use a conventional database to store user data then you don't need IPFS. – Soham Lawar Aug 22 '18 at 7:28

Not the answer you're looking for? Browse other questions tagged or ask your own question.