AnswerBun.com

How to do transaction on a dapp without any wallet

I am able to do a transation in my private nework using geth console.

But I want to the transaction on a dapp without using any wallet

Ethereum Asked by Ujjwal Pandey on November 29, 2021

3 Answers

3 Answers

Essentially the user will have to sign each transaction with the owned private key. One option is to use the sendRawTransaction() method from web3js: https://github.com/ethereum/wiki/wiki/JavaScript-API#web3ethsendrawtransaction

Answered by user38075 on November 29, 2021

When you say without a wallet what do you mean? A Dapp will use Web3, most popular is the web3.js library. It lets you make JSON-RPC calls to your node.

To get started: https://github.com/ethereum/web3.js/

It gives you a wide range of APIs that are very easy to use. Refer to this document to know which APIs you can use: https://github.com/ethereum/wiki/wiki/JavaScript-API

There are other libraries as well use as the web3.j for Java, Nethereum for C# web3.py for Python. Implementing on web3.js has a lot more community support and tutorials that you can follow.

You can even get started on smart contracts that would run on your nodes to enable you to make a wide range of Dapps. For that, check out Solidity.

Answered by kjroger94 on November 29, 2021

You should use Web3. Then you can do access a node and do transactions from your own website. You can also use web3 for python.

Answered by Jaime on November 29, 2021

Add your own answers!

Related Questions

How to reliably send transaction via web3j while connection is poor?

1  Asked on November 10, 2021 by roman-chumachenko

     

How to check validity of an address in solidity?

2  Asked on November 7, 2021 by manidos

   

Ethereum classic wallet is zero

1  Asked on November 7, 2021 by rhiannon-oaks

 

Balance may be outdated, Metamask

4  Asked on November 7, 2021

 

How does array.length– work?

1  Asked on November 7, 2021 by alejandro-veintimilla

       

Why are some transactions lost during mining?

1  Asked on November 4, 2021 by j-jack

   

All transaction pending a lot of time?

1  Asked on November 4, 2021 by timmy-chien

     

Taking a long time. Transaction pending

2  Asked on November 4, 2021 by n-g

 

Smart contract multiple functions call

2  Asked on November 4, 2021 by anarz

 

How to use erc20 token in integer, not decimal

1  Asked on August 26, 2021 by gnxvw

   

Why is my geth node stuck on “Looking for peers”?

0  Asked on August 26, 2021 by peter-lawson

     

WEB3.JS problem

1  Asked on August 26, 2021

 

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved.