# How to create random NFT

By [web3hooks](https://paragraph.com/@web3hooks) · 2022-02-08

---

I will using Chainlink VRF
==========================

    function getRandomNumber(uint256 seed) public returns (bytes32 requestId) {
           return requestRandomness(keyHash, fee, seed);
       }
    
    function fulfillRandomness(bytes32 requestId, uint256 randomness) internal override {
           randomResult = randomness;
       }
    

[https://docs.chain.link/docs/intermediates-tutorial/](https://docs.chain.link/docs/intermediates-tutorial/)

---

*Originally published on [web3hooks](https://paragraph.com/@web3hooks/how-to-create-random-nft)*
