Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dapp-design]

The tag has no usage guidance.

0
votes
1answer
23 views

Best options to host an ethereum react dapp to a custom domain

I'm looking for best options to host an ethereum dapp created using react and drizzle, with the following requirements: It needs to be hosted in a custom domain (.com / .net / OR .io ) that I have ...
0
votes
1answer
18 views

How to deploy a dapp which uses multiple blockchain

I am a newbie and started learning dapp on ethereum. Up till now, I wrote smart contracts; created frontend with html, css and js; deployed smart dapp on either private network(geth, ganache) or ...
3
votes
1answer
34 views

Native mobile Dapp - Sign transactions with user wallet

I'm starting a new project that involves a mobile Dapp and I have a question regarding signing transactions. Every mobile Dapp post that I read about offered two solutions: Use a Dapp browser, such ...
1
vote
2answers
41 views

Collecting ERC20 balances from multiple addresses?

I'm building a dApp that involves creating unique accounts for individual users for ERC20 deposits [I keep the addresses and private keys in a centralized database], for popular ERC20 tokens like BNB, ...
2
votes
1answer
28 views

Masking Ethereum Address in a transaction [duplicate]

I want to hide the ethereum addresses of dApp users so that your transactions will not be traced by one who you have interaction earlier. The use case is actually similar to the application: Alice ...
1
vote
1answer
210 views

Smart contracts for bidding

In a scenario where a contract represents a buyer-seller agreement, sellers need to publish for each new bid a new contract/ or new entry in an array within a single same contract, and then a buyer ...
0
votes
2answers
92 views

Deploy multiple instances of same contract

I am developing a decentralised notary app, using truffle/web3/react. It need to deploy multiple instances of a same contract. I managed to deploy multiple instances of a contract, MyContract via a ...
0
votes
0answers
25 views

k-d tree in solidity for efficient search operation

Let us consider the following example contract Courses { struct Instructor { uint age; string fName; string lName; } mapping (address => Instructor) ...
1
vote
1answer
142 views

Why no dapps in the Google Play Store? Why Ethereum not accessible by default in smartphone?

Before I create a decentralized application, I want to know whether it already exists. I thought the first step would be to search the Google Play Store, but it appears dapps are not available on the ...
0
votes
1answer
37 views

dApps being required to explicitly ask for access to web3(when using MetaMask)

Injecting web3 into the dapp is done automatically,when using MetaMask. Web pages get access to the Blockchain when using metamask in their browser, to read addresses for tranactions, and other ...
1
vote
0answers
87 views

How to make a dapp compatible with browsers like Cipher and Toshi

I wish to know how can we make a simple web based dapp compatible to run on browsers like Cipher and Toshi ? Is there any development or testing suite for these browsers that works in Rinkeby Network. ...
1
vote
2answers
255 views

How to display blockchain transaction receipt details in an Ethereum Dapp

In my dapp design, I wish to provide the user with an option to view Blockchain Transaction Receipt Details either by a link to sites like Etherscan or by providing full details on a separate page in ...
0
votes
1answer
80 views

How to identify submitted transaction to network?

I am developing an eCommerce application that has on-chain and off-chain components. The off-chain components focus on the compute and storage intensive operation while on-chain smartcontract ensure ...
1
vote
1answer
62 views

Updating content o af smart contract

I have a smart contract. I want to update the contents (list of names) of that contract let's say after every 5 minutes. The names change after this set duration. My approach is to create an instance ...
2
votes
1answer
37 views

How to model mapping inside smart contract

My use case: I have to keep track of all "submitted quotations" from one person to another. My solution: For this I am keeping a mapping of uint and struct mapping (uint => quotation) ...
0
votes
1answer
348 views

Thoughts about implementing masternodes in a ERC20 Token

I am developing a cryptocurrency on top of ethereum blockchain that will have some sort of rewarding features for the large hodlers of the coin. I know two ways of doing that: Airdrop - like Pundi X ...
2
votes
2answers
374 views

MongoDB vs Ethereum Swarm

I am designing a DAPP. I have two options available for storage MongoDB OR Ethereum swarm(OR IPFS). As MongoDB also replicates data to multiple shards fault tolerance is available in MongoDB. What ...
1
vote
1answer
109 views

Querying The Ledger And Filtering Results In Smart Contracts

I have a smart contract deployed that I use to store generic data. This generic data belongs to external parties and now they want to query the data which is easy given an ID for the array index and ...
3
votes
0answers
86 views

Evaluation of DApp (Smart Contract) storage concept with IPFS

i hope you can help me improve or validate my storage concept. I am glad for each suggestion. Since this is my first DApp, i might not consider all possible options for my problem. To understand the ...
0
votes
0answers
262 views

Solidity Design Patterns

I'm relatively new to Solidity and developing a smart contract system that allows "CampaignCreators" to create "Campaigns" which people can contribute money to. In doing so, the address that sent the ...
0
votes
1answer
174 views

Web app to call a payable function with parameter

Let suppose we have a contract with a payable function like this: function join(address sender) payable {}; So I have an user to join, invited by a presenter which address is address. I want to ...
2
votes
1answer
157 views

The better way to integrate Ethereum payments into web application

I'm trying to find the best solution to integrate Ethereum-based payments into web application and I'm looking for advice from someone who already faced this task. My case: Online-gambling solution ...
0
votes
1answer
257 views

Metamask Vs Parity. Which browser extension is good to access DAPP using browser?

I am trying to develop a DAPP and requirement is end user should be able to use DAPP from browser. I have two options available Metamask and Parity. Are there any other better options available to ...
0
votes
2answers
274 views

Why use SafeMath library?

I read that whenever you are performing arithmetic operations in a function of a smart contract, you should use SafeMath library. What is the reason for using SafeMath library? Also, what are the ...
0
votes
1answer
196 views

How to import data from MySQL database to swarm

In an application which is all ready developed and deployed data is stored in MySQL database. I want to import that data into swarm. Reasons to import data in swarm - 1) All the data shall not be ...
0
votes
0answers
100 views

How to integrate Ethereum with existing SQL / noSQL databases

Let us consider a scenario a college wants to build blockchain solution to store transcripts of students. An application had stored all the student information in MySQL data base. College wants to ...
0
votes
1answer
101 views

Ethereum full stack application development

I am novice solidity developer and I am trying to develop a voting application on ethereum Requirements of application are - 1) There should be candidate and voter registration form 2) Voter ...
0
votes
1answer
35 views

Is an Ethereum paper wallet generator considered a dapp?

I made an Ethereum paper wallet generator. Is this considered a dapp as it can be downloaded and run without any central server to generate ethereum addresses? Or does a dapp have to be tied to a ...
0
votes
1answer
20 views

Can Dapp respond to an API evocation which in turn calls an EOA and then evoke a contract?

Can a Dapp (leveraging web3.js) respond to an API evocation from an external system which in turn calls an EOA and then evoke a contract on the blockchain? External system calls a Dapp Dapp calls a ...
1
vote
2answers
160 views

Searching for a similar Dapp - finding the difference between datasets using the Merkle Tree

I am struggling with the project for my thesis. I need to develop a Đapp, which can store a query ID as an integer and a large string array (which is actually the output of a query to a database, ...
2
votes
1answer
610 views

How to auto Reload dapp when Metamask is Unlocked or Locked by user

How can I auto-reload dapp base on Metamask account status? I wish to design a metamask based authentication (like the one used in Crypokitties), for which I am able to design code which identifies ...
0
votes
1answer
34 views

Should I use Ethereum blockhain for its immutability in my project?

First of all, I am completely new to blockchains so sorry if I'm asking any silly questions:) I would like to build a test web project: users can create accounts and manage various kinds of ...
1
vote
1answer
96 views

Ability to easily manage attributes in Solidity Struct

Below is a very simple smart contract which has a struct Instructor which has 3 attributes right now i.e. age, fName, and lName. Now if tomorrow I wish to add a new attribute I will need to update all ...
1
vote
1answer
349 views

Load balanced Ethereum nodes

I'm writing an application that will talk to the Ethereum network, I have decided to host my own Parity nodes in the cloud using GCP Kubernetes Engine. I set up 3 node replicas for increased ...
1
vote
0answers
26 views

Build blockchain application that has some off-chain functionalities

I am learning about blockchain and I have a general question. Let's say that I want to build my custom blockchain based on Ethereum. My implementation has many nodes and few of them are chosen ...
1
vote
2answers
297 views

Is it possible to write an online browser game in ASP.net and integrate a smart contract to buy assets in that game for example?

I am fairly new to solidity, and i am exploring decentralized game development. This said, let us go more into the details. Imagine i want to develop a 2d game, where you can buy for example assets, ...
0
votes
1answer
92 views

Smart contract : wrong code or race condition?

We have developed a simple Smart Contract which offers this following public transaction method: struct Bid { uint256 userCode; uint256 amount; } Bid public ...
2
votes
1answer
462 views

How to track ownership of a real-world object?

Use Case I have a number of real-world objects that are stored in a central location. The deed to that object can be bought and sold without the actual object going anywhere. Deeds can be sold for ...
1
vote
0answers
15 views

Can a hash of all input addresses be used as a source of randomness?

So I want to create a casino contract. Can I use a hash of all addresses that participate in the casino as a source of randomness? I'd think yes, as there would be lots of users that have played the ...
1
vote
1answer
73 views

Would this make sense as a smart contract application? Trying to understand features and limitations

I'm starting to read up on Ethereum and smart contracts and some questions are popping up in my mind. I can understand that smart contracts can be used, for example, to make a bet for/against the ...
3
votes
3answers
409 views

DApps with fiat currency?

Is it possible to build DApp which can accept Fiat currency? Because for an existing business to move to blockchain, the existing users should be able to transition to DApp seamlessly. I would like to ...
2
votes
2answers
408 views

how to create a dapp in go?

I understand the process of development of dapp in javascript. Web3 api is used in order to access deployed contracts and truffle can be used for deployment. I want to create an api using Go language ...
0
votes
1answer
87 views

Using sub-contract to simplify interface

If I have a contract that has multiple payable functions, could I create additional contracts that use their default function to call the primary contract's specific function allowing the user to send ...
1
vote
1answer
53 views

ethereum user friendly app

I'm designing a new business with blockchain technology. And I would like to create a very user friendly app. I do not want to force people to have a wallet and ethers to interact with blockchain. So ...
7
votes
2answers
2k views

Storing private data on the ethereum blockchain

I plan to make an app utilising Ethereum that will store private data about a user. Eventually, I want this data to be accessible by selected users. I have seen conflicting answers & discussions ...
2
votes
2answers
324 views

Just Smart contract driven app is a DAPP?

I have same years working as a Java & JS fullstack developer, but I'm totally new to Ethereum's development, and I'm trying to figure out how to architect a Dapp (Smart contracts driven app). It'...
1
vote
1answer
262 views

How are blockchain apps secured?

I would like to know how does the process of authentication work and how are the private keys used for signing transactions? For eg while using email : We log-in to our accounts and send as many ...
1
vote
1answer
816 views

How to use private key to encrypt message

I try to develop a storing image file dapp with Parity these days. And I asked a question about private key some days ago. And Someone said that each account has a private key in Ethereum so that I ...
1
vote
0answers
73 views

How to create an account in a Dapp which developed with Parity

I’m developing a Dapp about image storing with Parity these days. And I try to make a new account with JSONRPC right now. But when I searched for some useful API, I found an API in this web:...
1
vote
1answer
229 views

The thoughts of develop a dapp in the website

I’m trying to develop a dapp of storing image files with Parity and IPFS. And at first I just want to develop it in the website. Just like a platform or a cloud disk. But today I communicated with ...