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 [server-side]

The tag has no usage guidance.

0
votes
0answers
10 views

Can ganache serve at a directory in addition to a port?

Using the ganache command line interface I can set a seed and a port: ganache-cli --seed 2048 --port 2020 Which serves to Listening on 127.0.0.1:2020 Can I get it to serve to a directory of my ...
0
votes
1answer
34 views

should I use server side rendering(Next.js) for a dapp?

Recently I have been studying a lot about dapps and now working on a little complex one. So what I wanted to ask is which is better for a dapp ? SSR or CSR ? I have read in a couple of places that we ...
0
votes
1answer
34 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 ...
1
vote
3answers
45 views

How to install infura to a server runing ubuntu 16.04

Im setting up an exchange and came to the installation of ethereum using this document http://support.bitexchange.systems/support/articles/how-to-install-ethereum-in-your-server. The 'geth' command ...
1
vote
1answer
36 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 ...
0
votes
1answer
20 views

DApp on Node2 accessing smart contract deployed by Node1

Node 1(Desktop) deployed a contract on private blockchain. From node2(Laptop),I want to interact with the contract. But I failed at 'web3.version.getNetwork(err, netId)' function.This function throws ...
0
votes
1answer
36 views

Server for end production dAPP?

I'm talking for end-production purposes and I'm interested what server specification and which hosting services dAPP developers use. Considering my scenario, I made a decentralized application in ...
2
votes
0answers
243 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 ...
0
votes
1answer
120 views

How to prepare VPS enviroment for instalation and running of Ambrosus node?

I would like to run Ambrosus development node. On Ambrosus github there are sume instructions, but I do not know how to prepare enviroment, what version of Ubuntu I should use and what tools should I ...
0
votes
1answer
30 views

Deploy contract from browser but ensure details saved to server

I'm very new to blockchain/Ethereum development and would like to allow users to directly deploy contracts from a site using MetaMask, however, I want to make sure that I can keep a record of contract ...
1
vote
1answer
477 views

How to generate Ethereum wallets & keys on serverside with JS?

Anybody knows, how can ether wallets be generated on serverside (node.js). It's needed for service, to create a new wallets for new customers. Maybe something like bitcoinJS-lib but for ethereum? But ...
0
votes
0answers
47 views

How to unlock account for calling a contract method using web3.js? [duplicate]

I am trying to call a non-payable method for a server-side application. I am using infura as the web3 provider for the rinkeby network. The web3 1.0 documentation says that the method call should be: ...
3
votes
3answers
286 views

How to sign a transaction in Rust

Given a private key, I would like to sign a transaction offline, so it can be sent to a node or Infura without unlocking an account first. I can find many examples in javascript using ethereumjs-tx ...
1
vote
1answer
272 views

How to deploy a smart contract in a server?

I have developed a smart contract and compiled it with solc and bin and abi fils have been generated. Now, I want to deploy this contract using web3js in a linux server. How can I do it?
2
votes
0answers
37 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, ...
0
votes
1answer
61 views

For production dApps, what kind of sync should be done on server node?

I plan to use web3 server side using NodeJs with geth. For production usage, should I do a full sync or fast sync is enough? Also, how much space do I need to store the blockchain data for each of ...
2
votes
1answer
2k views

Parity Full History Node

I'm trying to setup personal full node in archive mode (whole history) on server with this parameters: Intel i3 3.4GHz 8GB DDR3 1333 MHz 2TB HDD 100 Mbps / 128 I was expecting issues with HDD speed (...
4
votes
2answers
2k views

Best possible way to launch the ethereum mainnet node on AWS

I have multiple applications running on my local system. I want to make them live, I need ethereum main net node of my own. I launch the ethereum node on AWS server using supervisory mode but it doesn'...
0
votes
0answers
29 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 ...
1
vote
1answer
102 views

Can I relay signed transactions from device to server to Ethereum?

I am trying to generate transactions from a device that will have a copy of my private key, send that over to my node server, which will then just send that over to ethereum. Are transactions just ...
1
vote
0answers
238 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('...
3
votes
1answer
1k views

Restricted Access / Authentication for a Remote Geth Node

I have setup remote geth nodes that are constantly running as web3 providers to support my DApp. What is the best way to restrict access to make sure that only authorized clients (my server) are ...
1
vote
1answer
134 views

Event listening on a VPS server with limited ressources

I need to listen to events on the Ethereum blockchain on a small vps server with limited ressources (1 vcore, 10go SSD, 2go of RAM). Is it possible to do so without running a full Ethereum node ? What ...
4
votes
1answer
8k views

Ethereum node hardware requirements

I'm about to start syncing node on the server, do you know if there are any requirements to the server, like CPU or GPU and most of all, free disk space. Any tips about syncing on server? Cheers! ...
3
votes
1answer
1k views

How to store lots of private keys on a server?

I am building a web app where I have to keep track of a private key associated with each user. For the sake of this discussion let's assume that it's an exchange and users can send their ETH to this ...
3
votes
0answers
189 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 "...
4
votes
1answer
362 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 ...
4
votes
1answer
127 views

How to securely Interact with a contract on user's behalf from centralized server?

To explain myself, what I need is to be able to have a way so that the central server can only interact with the contract only with valid identification from a user? This identification provided by ...
1
vote
2answers
1k views

Hosting Ethereum on Digital Ocean

I am not quite sure whether this is right place to ask this question but let's carry it forward. I wanted to host Ethereum on Digital ocean. Has anyone ever tried that? Any HowTos on hosting ethereum ...
5
votes
1answer
3k views

How do I host Ethereum on a server?

I recently tried to get geth and solidity up and running on a virtual server I have some free time on. I got stuck trying to build the Solidity compiler due to issues with the OpenGL library. I've ...
10
votes
1answer
2k views

How can non-javascript applications communicate with Ethereum nodes?

Web3 implements the Ethereum JSON-RPC spec and seems to be the preferred method for communicating between a javascript applications and the Ethereum node. However there are situations where you might ...
2
votes
1answer
741 views

How to use contracts deployed by embark on the server side of a meteor app?

I have created my example using embark meteor_demo and then changed my configuration on embark.yml to output the contract on the server folder instead of the client. From that point i started getting ...