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 [frontend]

The tag has no usage guidance.

0
votes
0answers
18 views

Why does return address(player) return a weird string?

I am trying to get the player's address through front end and when I run through the solidity function that should return the player's address, it would return ...
2
votes
3answers
28 views

How to speed up data loading from the blockchain to the frontend?

I have a function that, according to the Unique ID of the car, gives me all its characteristics: function getCarArray(uint _carId) public view returns (uint[12] memory) ...
1
vote
0answers
51 views

Can I use Flutter or Android Studio to design front end instead of using react.js and still be able to interact with ethereum?

I am new to blockchain and currently learning solidity. I have understood the concept behind blockchain and solidity is also good so far. I can design mocha tests and deploy the contract on local ...
1
vote
1answer
42 views

Design Dapp with Kotlin front end

To develop Dapp using Kotlin programming language for the front end design, Where should I place this code? and what it should be changed? <script> // Connect a the web3 provider ...
0
votes
1answer
169 views

“The returned value is not a convertible string” (web3js & React front end)

Edit: to be clear, the getMessage() function works fine in remix. It just doesnt seem to work with my front end. I am trying to set up a front end for my contract but when trying to invoke a certain ...
1
vote
0answers
19 views

In windows, what do I type in powershell to connect my dApp to a liteserver? [closed]

In windows powershell, what do I type to connect metamask to a liteserver? >
1
vote
1answer
108 views

How we store end user details when we create ICO based ethereum DAPP? [closed]

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 ...
2
votes
1answer
54 views

Function to return tuples throws error on frontend

I have similar functions like this and they work fine: function getBarsOfParticipant() external view returns (uint256[], uint16[], bool[]) { uint256[] barIds = participantToBarIds[msg.sender];...
2
votes
2answers
308 views

Which frontend framework is the most Solidity/Ethereum friendly?

I'm coming from 10 years of freelance work using Rails & JQuery. I'm late to the Javascript jamboree of other frameworks, but I've been tinkering with Webpack and node (mainly using other dev's ...
1
vote
1answer
215 views

How to retrieve length of array stored in mapping on frontend?

I have a contract with the following mapping: mapping (uint16 => uint256[]) public barLengthToBarIndexForSale; What's the best way to retrieve the length of an array for a given key on the ...
0
votes
0answers
62 views

how to deploy frontend side of dapp + truffle based

Apologize to ask non-code related question here. Most of the questions are asking about contract-related deployment and it seems quite hard to find frontend-related deployment in stackExchange. Is ...
0
votes
1answer
909 views

How to develop an online ERC20 wallet

I'm looking for any tutorials on how to create my own token wallet. Example: Create token for website purchases I implement my own wallet for token and allow ppl to buy with token and redeem ...
2
votes
0answers
121 views

Frontend call --> Transaction does not go through, no error message displayed

I'm trying to build a frontend for my Dapp and first, I wanted to test if I can initiate a transaction at all. I have a Button which calls the storeInput() function. Then, it should invoke the ...
1
vote
1answer
151 views

Web3.js: how to efficiently load and display bunch of items from the Blockchain?

I am developing a DApp and I am struggling with the efficient loading from the blockchain and displaying in the frontend. I am loading all the items at once. When the list of the items grows very ...
2
votes
3answers
329 views

Doesn't having a centralised front end pose a huge security risk to an Ethereum app?

My understanding is that the typical architecture for an Ethereum app is to have a smart contract acting as a backend to a centralized, stateless front end which runs on a single server. Doesn't this ...
0
votes
3answers
502 views

Keeping Backend databases in sync with blockchain transactions

I have created a solidity contract to store the states and the data of a Dapp but to power the frontend, I need different view of that data! While I can use solidity as my backend but I don't think it ...
1
vote
2answers
630 views

Should an API call be in the Solidity backend or the Javascript frontend?

I am fairly new to blockchain development. I want to call a function in my contract when a condition in the API is true. Should I make this API call in my contract, or in my frontend?
4
votes
3answers
488 views

Why is MeteorJS so popular for making dApps?

I am learning more about creating a front end that communicates with solidity contracts. At first, I was pointed in the direction of using ReactJS, but now I see many people talking about using ...
1
vote
1answer
536 views

Is there an on-blockchain way to host the frontend of a Dapp? [duplicate]

I understand that the whole backend of a dapp can exist on the blockchain, but it still seems like you need something to serve the frontend UI to make it realistically usable. Are there any standards ...
2
votes
1answer
3k views

Call contract function with address and abi to return value to frontend

I've deployed the following contract to Ethereum testnet. contract demo { string public name = "someString"; function returnValue() constant returns (string){ return name; } } I ...
6
votes
3answers
2k views

web3.eth.compile.solidity doesn't compile

I am trying to deploy a contract through my front-end via web3 API. However nothing appear to compile and there is no contract address or ABI to interact with the deployed contract (if it is deployed) ...
4
votes
2answers
388 views

What is the standard way for a Dapp to locally store non-sensitive data?

I'm building a small Dapp which is structured like so: Every user who wishes to use the contract deploys a copy of the code. Individual contracts contain a small amount of information. Users can also ...
5
votes
2answers
2k views

How to connect Dapp front end to geth node

The very basics of the connection from front end to the contracts and how they can be invoked from front end code would help me a lot. Please share the code and basic steps also. And I am not using ...
5
votes
1answer
202 views

Can a user send a transaction using my website frontend with an account which is not in my node?

Can a user send a transaction using my website frontend with an account which is not in my node? The solution to this problem could be create an account for every user in my platform, but I think ...
10
votes
2answers
582 views

Is there a tool that creates a basic HTML interface from an ABI?

I am looking for a tool that builds a basic interface for a contract so that I can use this generated HTML as a starting point to build the front end. I am aware that Mist, https://chriseth.github.io/...