Questions tagged [moralis]
The moralis tag has no usage guidance.
24
questions
0
votes
0
answers
6
views
Metamask, rarible moralis plugin value
Guys, when I use the Rarible plugin from Moralis and perform lazy mint, I'm getting a sign notification from Metamask. May I know what does value mean here?
0
votes
0
answers
12
views
TypeError: Cannot read properties of undefined (reading 'toNumber'), When trying to fetch totalSupply
I'm trying to fetch totalSupply from my smart contract using react-moralis useWeb3ExecuteFunction and got this problem
the code
import Head from 'next/head'
import styles from '../styles/Home.module....
0
votes
0
answers
34
views
Buy nft problem, caller is not token owner nor approved
I am creating my first nft project and in this project I will sell with metamask from my own web page, but there is an error I get every time, only the contract owner can transact, different wallets ...
0
votes
0
answers
19
views
Getting the data from the contract at initialization
I have a state const [arrayAddress, setArrayAddress] = useState([]); and I set the arrayAddress when I call my contract :
<Button
text='Ajouter le voter'
theme='...
0
votes
2
answers
17
views
How to get the actual workflow (event)
I've got several enums in solidity :
enum WorkflowStatus {
RegisteringVoters,
ProposalsRegistrationStarted,
ProposalsRegistrationEnded,
VotingSessionStarted,
...
1
vote
1
answer
39
views
Executing on-chain functions using react moralis
I'm trying to convert my dapp from vanilla js + html (local hardhat node) to react-moralis + nextJS (local hardhat node).
Here is an example of a contract function call from the front-end. This code ...
0
votes
0
answers
6
views
Front-end (Next.js) - font and position of header are not working properly
Hi I'm going through this tutorial from Patrick Collins - https://www.youtube.com/watch?v=8bMrko6iD9Q&t=4994s Should look like the first pic (Bold word of Lottery and Connect Wallet should be ...
0
votes
1
answer
142
views
Approval and Transfer From Function in ERC 20 Tokens
when a user approves a spender to spend tokens on his behalf via the approve function, how does the spender transfer these tokens? Also how can the spender access other tokens in the wallet? Does the ...
0
votes
1
answer
41
views
An Error Related to data: id in erc1155 smartcontract
We successfully deployed/integrated our erc1155 smart-contract through the website:
FrontendThe Website link
Unfortunately, the only problem we have now is that when we mint the
smart-contract for ...
0
votes
1
answer
104
views
Invalid amount in MetaMask app on iPhone
I am using Moralis for simple token transfer from one wallet to another. My code:
And this works great on desktop (Chrome MetaMask plugin):
But when I wanna use this on my phone - iPhone (MetaMask ...
0
votes
0
answers
89
views
How to save data to a blockchain and how to query it
I am currently working an Online Birth Certificate Registration System using blockchain for my final year project. I have incorporated Moralis in my project to handle the users and linked it to ...
0
votes
2
answers
101
views
How to write data to the blockchain using an html form
I am currently working an Online Birth Certificate Registration System using blockchain for my final year project in Uni. I have incorporated Moralis in my project to handle the users and linked it to ...
0
votes
0
answers
63
views
How to properly handle network switch event in Moralis Ethereum Boilerplate
I'm using Moralis' ethereum boilerplate here. https://github.com/ethereum-boilerplate/ethereum-boilerplate
It works relatively well, but whenever I switch networks, the demo throws errors in ...
0
votes
0
answers
100
views
How to use react moralis for my whitelist?
I can sign using moralis and metamask and pass that to the smart contract. But couldn't anybody call the same sign function and pass that to my contract? Is there a way to pass a key to the ...
0
votes
0
answers
15
views
Caller not Owner Error calling from moralis cloud function
i'm planning to send transaction from cloud function, but have error the caller not owner, please ignore the unsafe way it is to put the private key in there, i just want this to work first, if it can....
0
votes
0
answers
124
views
Moralis NFT-MarketPlace-Boilerplate
I am not able to list my testnet nfts to the marketplace. I am following this tutorial (https://www.youtube.com/watch?v=WZWCzsB1xUE) the MarketItems in the database is not showing any nft their
Thank ...
1
vote
1
answer
679
views
moralis connect walletconnect TypeError: Cannot read properties of undefined (reading 'importKey')
guy i use moralis plugin connect wallet.
but found error TypeError: Cannot read properties of undefined (reading 'importKey').
i don't know why. i follow example in document.
this my code.
import ...
1
vote
1
answer
67
views
Unable to fetch the NFT of the contract I deployed
I deployed an ERC721 smart contract on Polygon.
The contract address is as follows: 0x9Bc7eBE1a407eb2A7E7C6CECf14e964a7fd79cE6
Moralis, however, does not give me anything back when I fetch the tokens ...
0
votes
3
answers
485
views
mint multiple NFTs in single transaction (ERC- 721,1155 & 20)
I'm developing an NFT Marketplace using the Moralis server. I'd like to know that is there any way to upload multiple nfts with different metadata in one single transaction? Can you please share the ...
0
votes
0
answers
75
views
Are there benifits using Moralis node provider services?
I'm very new to solidiy and blockchain so forgive me if this is a stupid question! I've been playing around on the BSC test net, following a few online guides and the Binance dev docs. I've noticed ...
0
votes
1
answer
43
views
How to make a physical asset an NFT
I am trying to create an NFT but with physical assets, how can I make this work.
0
votes
0
answers
238
views
How to properly use web3.py with BSC archive node?
I use the web3 python library and Moralis archive node to interact with BSC. I've got a few failed transactions on PancakeSwap a few days ago and am trying to replay them with different parameters ...
2
votes
1
answer
4k
views
window.ethereum.request({ method: "eth_requestAccounts" }) does not open
I am using React and trying to open Metamask wallet to sign and get the address of the user. However I tried this code and I've clicked the button to trigger it, but nothing happen.
This is my code ...
0
votes
0
answers
724
views
How to transfer ERC-721 tokens using web3.js?
How to transfer ERC-721 tokens using web3.js? I am currently using moralis to transfer my ERC-721 tokens but is there other web3 providers other then moralis i have been trying to find then but so far ...