Skip to content

Commit

Permalink
Merge pull request #37 from web3-nomad/feature/erc4626
Browse files Browse the repository at this point in the history
create example nft for kyc flow
  • Loading branch information
maksimKrukovich authored Jun 3, 2024
2 parents 14d39f9 + de5481e commit f5eccbf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
17 changes: 17 additions & 0 deletions contracts/erc4626/HederaNFT.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;

import {ERC721} from "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";

contract HederaNFT is ERC721, Ownable {
constructor(address initialOwner) ERC721("KycTest", "KYT") Ownable(initialOwner) {}

uint256 private _tokenIdCounter;

function safeMint(address to) external {
uint256 tokenId = _tokenIdCounter;
_safeMint(to, tokenId);
_tokenIdCounter++;
}
}
3 changes: 3 additions & 0 deletions data/deployments/chain-296.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,8 @@
"StakingToken": "0x0000000000000000000000000000000000423251",
"Share": "0x0000000000000000000000000000000000423255",
"RewardToken": "0x0000000000000000000000000000000000423252"
},
"nft": {
"HederaNFT": "0xCeabeC99782c70840A8C11eE931473Ec6407678B"
}
}

0 comments on commit f5eccbf

Please sign in to comment.