94 questions
0 votes
1 answer
53 views
How to verify a Moralis Streams API signature?
From the Moralis Streams API (i.e. an incoming webhook request), how do I verify the x-signature header? The docs say its just a sha3 of the body + api key, however this does not seem to work ...
1 vote
0 answers
59 views
Facing issue While creating the Moralis Stream
I need help with Moralis streams. I am trying to create a stream to listen to wallet native currency transactions. I created the webhook file and am listening through ngrok. It works fine when I ...
3 votes
1 answer
266 views
Error when using MoralisProvider in layout.js file (Next.js)
I'm trying to use the MoralisProvider in my layout.js file, but it throws an error when I import it. Here's the error message I receive: ./node_modules/@toruslabs/openlogin/node_modules/@toruslabs/...
-1 votes
1 answer
544 views
CORS Issue with Firebase Cloud Function Despite CORS Middleware
I'm facing an issue with CORS when deploying my Firebase Cloud Function. I have set up the CORS middleware, but I'm still getting a CORS error when trying to make a request to the function. Here is ...
0 votes
1 answer
250 views
express and moralis token price API not fetching json data in console
I've been following video link from Moralis web3 (youtube) meanwgile I got stuck when I need to fetch data using token price Moralis API. I want the price details to be printed in the console when i ...
1 vote
1 answer
668 views
Error: require() of ES Module NextJS Web3AuthConnector
I have a NextJS (Typescript) setup with Express . I'm using Moralis, Wagmi and Web3Auth for authentication. The Metamask authentication works, but when I try to setup Web3 Authentication by importing ...
-1 votes
1 answer
258 views
logout metamask user onClick a button how can I implement it?
I am working on a dapp and I have implemented signing option using ether js but I want to also call a fucntion onclick a button to logout connected metamask wallet. Before I have used Moralis v1 ...
1 vote
1 answer
286 views
Create autosigned transaction approval using moralis, ethers and metamask
I’m using metamask as web3provider. Have this code, that returns a token’s abi: import abiErc20 from './abi-erc20.json' import { ethers } from "ethers" const abiObj = { erc20abi: (...
1 vote
1 answer
361 views
Moralis self-hosted server
I have problem creating Moralis self-hosted server, I have a project I'm working on which was done by someone before, so he wrapped the entire app around Moralis provider and as at the time he created ...
1 vote
0 answers
51 views
Having trouble deploying a parse server to heroku. Using moralis parse server and MongoDB
This server runs fine locally using "yarn build yarn start" but when trying to deploy I am getting these errors. Cannot find anything on google so far that has worked. Any help would be much ...
0 votes
1 answer
197 views
How can we find the total number of tokens available in a wallet ? (withOut initialising Moralis) -As it is time taking
const Moralis = require('moralis').default const {EvmChain} = require('@moralisweb3/evm-utils') const runApp = async () => { // WithOut Moralis initialising - I want to skip these ------(https://...
0 votes
1 answer
126 views
get EthPrice with Moralis JavaScript
I want to get the Eth Price using the MoralisJS API. The problem is that Moralis doesnt only return the ETH-Price but also a lot of other data. I only want the usdPrice of Eth, what would be the right ...
0 votes
0 answers
127 views
I cannot get the address and its balance even if I connected to the Metamask
I am working on a dapp and I have a problem. The problem is that even if I connected the Metamask to the dapp, I cannot get its balance. But, the most interesting part, I cannot see the address which ...
1 vote
1 answer
6k views
How can I set Next-Auth callback url? and next-auth session return null
I want to set login, logout callback url. So, I set the callback url like this. //signIn const signInResult = await signIn("credentials", { message, signature, redirect: false, ...
0 votes
1 answer
58 views
Desposit function in Next.js and Moralis
I'm trying to make a simple function on the website. It should take amount of ETH as an input parameter and send it to a certain wallet. So it should have one placeholder for amount of ETH and "...