Skip to content

Commit

Permalink
create example nft for kyc flow
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimKrukovich committed Jun 3, 2024
1 parent cc9640e commit de5481e
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 de5481e

Please sign in to comment.