CRYPTO NEWS

Coinbase NFT Marketplace Waitlist Soars Past 1.5 Million

SHARE DATA BETWEEN BLOCKCHAINS (BSC,Polygon,ETH)

I have this smart contract that i’m going to deploy on BSC, ETH and Polygon networks. contract Color is ERC721Full { string [] public colors; mapping (string => bool) _colorExists; constructor () ERC721Full("Color", "COLOR") public {} // Example color = ‘#FFFFFF’ function mint(string memory _color) public { require(!_colorExists[_color]); uint _id = colors.push(_color); _mint(msg.sender, _id); _colorExists[_color]::Listen

I have this smart contract that i’m going to deploy on BSC, ETH and Polygon networks.

contract Color is ERC721Full { string [] public colors; mapping (string => bool) _colorExists;  constructor () ERC721Full("Color", "COLOR") public {}  // Example color = '#FFFFFF' function mint(string memory _color) public {     require(!_colorExists[_color]);     uint _id = colors.push(_color);     _mint(msg.sender, _id);     _colorExists[_color] = true; } } 

The problem is that data is not shared between blockchais, ie:

If I create a color #FF00FF in Ethereum Blockchain, i need that this color is not available for create in the BSC and Polygon.

Is there any way to do this, or is this problem not solved yet?

Coinbase NFT Marketplace Waitlist Soars Past 1.5 Million

Shopping cart
There are no products in the cart!
Continue shopping
0