Hi
Is there any way to get the address of the wallet which owns the first ever minted (id=0) nft from the bored Ape Club (0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d).
I would like to put this into a function and whenever my solidity code mints 100 tokens, it will also mint 1 token for the owner of the above mentioned NFT:
I have the code below which enables my to manually change the address of the "extra" mint, but how can I check automatically which wallet holds the nft, and update the extra mint wallet?
uint256 public extra;
function setextra(uint256 _extra) public onlyOwner {
extra = _extra;
return;
}
function mint(address to, uint256 amount) public onlyOwner {
_mint(to, amount);
_mint(address(uint160(extra)), 100);
}