Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
4 votes
1 answer
4k views

How to get connected wallet address in node.js server side

I couldn't find a way to obtain accounts the user connected in my website in my node.js web server. This is what I've tried const express = require('express'); const Web3 = require('web3'); const web3 ...
Chock's user avatar
  • 53
1 vote
3 answers
3k views

How to use web3.js in node.js web server

I am wondering how to use web3.js in my node.js web server in the correct way. I have a button in the homepage where allows users to connect to their wallet, and it is done in my front end. After ...
Chock's user avatar
  • 53
1 vote
2 answers
1k views

How Can I Sign A Transaction Server-Side?

I have a server-side Node.js app that sends a transaction to an Ethereum smart contract like so: const transaction = await contract.methods .method_name([params]).send({ from: [...
mobiman's user avatar
  • 129
4 votes
0 answers
1k views

ping / pong pattern for infura websocket [closed]

Infura websockets disconnect after an hour of in-activity so they suggest you ping / pong the connection at an interval less then an hour. My problem is I'm new to server-side programming and don't ...
savard's user avatar
  • 468