Skip to main content
David Dacruz's user avatar
David Dacruz's user avatar
David Dacruz's user avatar
David Dacruz
  • Member for 3 years, 5 months
  • Last seen more than a month ago
Loading…
awarded
awarded
awarded
comment
Format Properly Message from MetaMask - RPC Error: execution reverted
I did manage to fix this thank you! return common.Hash{}, &rpc.CustomError{Code: -32602, ValidationError: "Your error message"}
awarded
comment
How to secure JSON-RPC endpoint with a NFT token?
The variation of the HttpProvider needs to be on the server side how can I implement this ? I'm use to using express with nodejs how to send an error or let the request pass if the person is authorized with json-rpc and my nodejs api ?
revised
How to secure JSON-RPC endpoint with a NFT token?
added 42 characters in body; edited title
Loading…
revised
Loading…
Loading…
comment
Call the burn function of an ERC1155 token from another contract
Correct I didnt see the internal _burn which checks the balance thank you
Loading…
awarded
Loading…
comment
Custom reward token how to give it real eth value?
Ok, I'm still a bit confused, if there's is no RewardToken supply on contract creation; How can I provide liquidity on dex for a pair RewardToken/ETH if there is no RewardToken to start with ?
awarded
comment
Custom reward token how to give it real eth value?
Thanks @AvocadoChocolate you more question, I didn't plan to have an initial supply, I wanted the supply to be created as time passes with the tokens being accumulated but if I need to provide liquidity I have to create an initial supply, which will be minted to the owner of the contract, does it work like this ?
Loading…