Questions tagged [server-side]

The term "server-side" refers to the portion of an application run on a server. The counterpart of "server-side" is "client-side", meaning the part of an application running locally on the user's own machine, such as in a Web browser.

18 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
1 answer
418 views

Connecting to an ethereum node from meteor server side

I get the error TypeError: XMLHttpRequest is not a function when I try to connect to a node on the server side of my meteor application. The error is caused by meteor using the meteor HTTP package ...
user avatar
  • 1,103
3 votes
0 answers
208 views

How do you connect to a node from the server side of a meteor app

This is the command I am using to run the node (a private testnet) geth --networkid 420 --nodiscover --rpc --rpcaddr "0.0.0.0" --rpcport 8545 --rpcapi="db,eth,net,web3,personal,web3" --rpccorsdomain "...
user avatar
  • 1,103
2 votes
0 answers
152 views

Calls to RPC sometimes gets Error: Connection refused or URL couldn't be resolved

I have a backend server that constantly gets logs and parses data from my client node (Clique non-sealer). I restrict the number of calls from my backend server -> client node to 25 at a time. Is ...
user avatar
  • 399
2 votes
0 answers
51 views

How to design a provably fair dyanamic between a central server and smart contract

I'm looking for a good design pattern that involves a central server but (hopefully) leverages the blockchain for provable fairness. Let's say I intend to build a system that generates math problems, ...
user avatar
2 votes
0 answers
355 views

Geth Node as Web3 Provider: Impact of Multiple Client Connections

Related to this question (restricting access to Geth node), if I have a remote geth node and several clients connecting to it as a web3 provider const web3 = new Web3(new Web3.providers.HttpProvider('...
user avatar
  • 2,286
1 vote
0 answers
196 views

Websocket returning "unexpected server response: 200"

Using ethers.js with node, I was able to connect and communicate with websockets until recently. My code did work but now I only get Unexpected server response: 200 as response when trying to ...
user avatar
  • 11
1 vote
1 answer
857 views

how to get eth_signTypedDataV4 signature in web3.py

I am currently using web3.py on a backend, I want to generate eth_signTypedDataV4 signature with web3.py, I am using Infura as a provider. which web3 method is available or any other library, when it ...
user avatar
  • 58
1 vote
1 answer
198 views

How do I listen to Contract Events in my Express App?

I have a Smart Contract rps. I want my express app to be able to listen to its events. My express app: require("dotenv").config(); const express = require("express"); const app = ...
user avatar
1 vote
1 answer
378 views

Initiate transaction from server to smart contract

In my case, i have an API written in PHP which periodically checks the database. If certain condition was met, i need to send an alert message from the API to an account/node in the Ethereum ...
user avatar
0 votes
0 answers
23 views

Which server should I take for HFT similar things?

Wondering which specs should I pay attention to when choosing the best setup for a high-frequency arbitrage in DeFi? It's not a very heavy app, so most calculations are made by smart contracts, but ...
user avatar
  • 1
0 votes
0 answers
38 views

How to configure ENS domain to point to a server on digitalocean instead of an IPFS site?

We have a web3 website that does server-side rendering built with NextJS and we want to configure an ENS domain to point to it. Checked IPFS but it doesn't support server-side rendering websites. So ...
user avatar
0 votes
0 answers
55 views

How to prepare a transaction from the server and sign it in the front-end?

Is there a way to prepare a transaction from the server, then wait for the user to sign the transaction from the frontend with Metamask, before running other functions from the server (e.g., update a ...
user avatar
  • 1
0 votes
0 answers
29 views

How to change the default browser to another browser in the lite server, when I working with truffle?

I am a beginner in etherium blockchain-related development. I am trying to develop a simple app using truffle, ganache and metamask. I want to change my default browser to chrome when I run the lite ...
user avatar
0 votes
1 answer
53 views

Can Ethereum be used to tokenize bandwidth?

Decentralizing internet bandwidth usage, by allowing blockchain users to act as server nodes using their desktop computers and be paid for it, would fix the problem of running massive server rooms ...
user avatar
0 votes
0 answers
45 views

Is there any service that sends messages to smart contracts in a pre-determined future time?

Is there any service that sends messages to smart contracts in a pre-determined future time? Need also to re-send the message if the gas was low and it is stalled too long.
user avatar
  • 1,364
0 votes
0 answers
35 views

my dapp works perfect on local but when i upload to server the address returns null using web3

I have a project which I've been working on and so far it works perfectly on local. But when I uploaded the project to the server it is unable to get address using web3. const network = await web3....
user avatar
0 votes
2 answers
1k 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 ...
user avatar
  • 311
0 votes
0 answers
42 views

Does cellphone 4G tethering wifi cause the Ledger 'transaction rejected by server' error?

I have just tried once again to make an ETH transaction using the default suggestion of 45 Gwei, which seems much too high. Yet it was rejected by the server, and the Ledger support has only emailed ...
user avatar