Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [express]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

Not able to run a function of a smart contract (Create Community) from Express.js server

I am trying to create community from express server but getting an error. The get Community is running fine I am able to get the Community corresponding to that particular id. But when trying to send ...
Abhishek Bhagat's user avatar
0 votes
1 answer

Restricting External Adapter Access to a Specific Smart Contract: Is it Feasible?

How can I ensure that my external adapter is only accessible by a specific contract? Does the Post express middleware in the external adapter have a header key indicating the calling smart contract? I'...
Jp98's user avatar
  • 11
1 vote
0 answers

Is it possible to use cors or something similar to reject all API calls not from a particular ENS Domain, Unstoppable Domain, or IPFS hash?

I love decentralized domain projects. I have worked with Unstoppable Domains, ENS domains, Handshake domains, and even just simple IPNS domains and IPFS hashes. The domain name system used by web2.0 ...
ChristianOConnor's user avatar
1 vote
0 answers

How to add logo to a web3 personal signature message?

I have generated a signature message from my react js app for the users. But in mobile metamask the message displays a letter D, the first letter of my url, at the top of the message. But I want to ...
abcdefgh's user avatar
  • 173
3 votes
2 answers

Is there any way to listen smart contract events from nodejs-expressjs server?

I am developing a smart contract project and I need to listen events on my expressjs-server. Is it possible to listen events from there?
MehmetBerat's user avatar
2 votes
1 answer

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 = ...
antoniopgs's user avatar
0 votes
1 answer

Best practice for Single or Multiple instances of Provider for different types of block chain requests #

What the best practice is in terms of using the ethers provider as either a singleton (or persistent instance) in a module or to create a new instance every time a request is made. For example, for a ...
DogEatDog's user avatar
  • 121
5 votes
1 answer

Subscribing to events using ethers / hardhat network

I have a basic node express application. It connects to my locally running hardhat network via ethers & websocket. The connection seems to work, since I can query the blockchain succesfully (for ...
Fabian Scherer's user avatar
0 votes
1 answer

How can a server except a signed tx and pay the gas?

I have a contract where users can buy "credits". With that credit, users can post a message to a server (a route set up in ExpressJS). I have the buying of credits working. But my question ...
GN.'s user avatar
  • 643
1 vote
0 answers

where to host express api that communicates with smart contract to be fully decentralised?

I need to host express api that communicates with smart contract to be fully decentralised. Any to host it decentralised.
Cryptoineer's user avatar
1 vote
0 answers

UnhandledPromiseRejectionWarning TypeError when deploying multiple contracts (>200) at the same time

I get the following error: (node:6540) UnhandledPromiseRejectionWarning: TypeError: this.removeListener is not a function at Object.receipt (c:\Users\pruto\OneDrive\Documents\Smart contracts\...
Philip Rutovitz's user avatar