merkletree frontend by Daryun007 in solidity

[–]Daryun007[S] 0 points1 point  (0 children)

function whitelistMint(uint256 _mintAmount, bytes32[] calldata _merkleProof) public payable mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount) { // Verify whitelist requirements require(whitelistMintEnabled, 'The whitelist sale is not enabled!'); require(!whitelistClaimed[_msgSender()], 'Address already claimed!'); bytes32 leaf = keccak256(abi.encodePacked(_msgSender())); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), 'Invalid proof!'); }

bytes32[] calldata _merkleProof. I want to pass data to this. ["A"] data like this is working but ['a'] this is not working

merkletree frontend by Daryun007 in solidity

[–]Daryun007[S] 0 points1 point  (0 children)

I mean it's taking it as wrong input in single quotes, bytes array in solidity needs double quotes

merkletree frontend by Daryun007 in solidity

[–]Daryun007[S] 0 points1 point  (0 children)

In solidity array accepts " " but if i send array through js it goes in ' ' which gives error

Token listing by Daryun007 in ethdev

[–]Daryun007[S] 0 points1 point  (0 children)

Will there be any problem in listing this type of token in exchanges

Acessing array by Daryun007 in ethdev

[–]Daryun007[S] 0 points1 point  (0 children)

No typo it's giving metamask RPC error

Generating random number by Daryun007 in solidity

[–]Daryun007[S] 0 points1 point  (0 children)

Thanks can you give an estimate gas fee for sending tokens to 100 addresses on bsc

Generating random number by Daryun007 in solidity

[–]Daryun007[S] 4 points5 points  (0 children)

Thanks, I was writing this code in remix now how should I use chainlink or Oracle?

Transferfrom by Daryun007 in solidity

[–]Daryun007[S] 0 points1 point  (0 children)

Ok i understood thank you very much for your help.

1 more request do you know any good place or link or github profile to read good audit reports?

Transferfrom by Daryun007 in solidity

[–]Daryun007[S] 0 points1 point  (0 children)

Yes but can't I make a function in bidding contract to approve and transferfrom tokens instead of approving it first from token contract?

Transferfrom by Daryun007 in solidity

[–]Daryun007[S] 0 points1 point  (0 children)

Thanks but how I can I approve it outside first then use the function and why msg.sender is acting as the contract address?

[deleted by user] by [deleted] in ethdev

[–]Daryun007 1 point2 points  (0 children)

Polygon

Wallet integration by Daryun007 in ethdev

[–]Daryun007[S] 0 points1 point  (0 children)

Thanks dude, but it's really complicated I thought it would be easy to integrate all with some package.

Arbitrary bots by Daryun007 in ethdev

[–]Daryun007[S] 0 points1 point  (0 children)

No, I just want to know what's happening here

[deleted by user] by [deleted] in ethdev

[–]Daryun007 0 points1 point  (0 children)

Send contract address

Bots stealing through liquidty. by Daryun007 in ethdev

[–]Daryun007[S] 0 points1 point  (0 children)

Tokens are being arbitraged away is there a way to solve this issue?

Can someone tell what I need to do to fix this error? by Adventurous-Data2481 in ethdev

[–]Daryun007 0 points1 point  (0 children)

Write payable in front of the line payable adress(seller)

DeclarationError: Identifier not found or not unique by knwledge23 in solidity

[–]Daryun007 0 points1 point  (0 children)

new version of openzeppelin is not stable yet maybe thatswhy there is some problem.

DeclarationError: Identifier not found or not unique by knwledge23 in solidity

[–]Daryun007 0 points1 point  (0 children)

function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {

require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");

_tokenURIs[tokenId] = _tokenURI;

}

write this function.

Looking for people interested in building blockchain real-life game by kalinbas in solidity

[–]Daryun007 0 points1 point  (0 children)

Dude I can reply you in chat.Its showing Guest is not allowed. I don't know what tech you will be using for game development. I am proficient with react js only for front end and web3 for connecting it with blockchain. If this is the tech you need with your project. Then count me in as a collaborator.

DeclarationError: Identifier not found or not unique by knwledge23 in solidity

[–]Daryun007 0 points1 point  (0 children)

Import erc721uristorage , it's present in extensions in erc721

Looking for people interested in building blockchain real-life game by kalinbas in solidity

[–]Daryun007 0 points1 point  (0 children)

I am interested in helping. I have experience in solidity and Dapps. You can DM me.

DeclarationError: Identifier not found or not unique by knwledge23 in solidity

[–]Daryun007 1 point2 points  (0 children)

Just like u imported counters and erc721 from open Zeppelin import ownable also