---
title: "Discussion on \"Create An NFT Staking Smart Contract with Solidity & thirdweb Deploy!\" | Hashnode"
description: "Discussion on \"Create An NFT Staking Smart Contract with Solidity & thirdweb Deploy!\". Learn How To Create An NFT Staking Contract and Application Using ERC-721 Tokens To Reward ERC-20 Tokens Using Solidity, Thirdweb Deploy and Next.js."
url: "https://hashnode.com/posts/create-an-nft-staking-smart-contract-with-solidity-and-thirdweb-deploy/629e2481a6bfa05457952672"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Create An NFT Staking Smart Contract with Solidity & thirdweb Deploy!](https://blog.jarrodwatts.com/create-an-nft-staking-smart-contract-with-solidity-and-thirdweb-deploy?utm_source=hashnode&utm_medium=feed)

Learn How To Create An NFT Staking Contract and Application Using ERC-721 Tokens To Reward ERC-20 Tokens Using Solidity, Thirdweb Deploy and Next.js.

Jun 6, 2022 · 21 min read · blog.jarrodwatts.com  
Updated Aug 3, 2022  
Read the article

-   [#thirdweb](https://hashnode.com/tag/thirdweb)
-   [#ethereum](https://hashnode.com/tag/ethereum)
-   [#solidity](https://hashnode.com/tag/solidity)
-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#smart-contracts](https://hashnode.com/tag/smart-contracts)

## Written by

[Jarrod Watts](https://hashnode.com/@JarrodWatts)

@JarrodWatts · Sydney, Australia

  
[View profile](https://hashnode.com/@JarrodWatts)

Developer Relations Engineer @ Polygon Labs

A software engineer turned developer relations engineer in the web3 space, from Australia 🇦🇺.

## Responses 2

Markdown supported · ⌘↵ to post

[Gurdeep Singh](https://hashnode.com/@gurd33p)

[Jul 27, 2022](https://hashnode.com/posts/create-an-nft-staking-smart-contract-with-solidity-and-thirdweb-deploy/629e2481a6bfa05457952672/comment/62e1276e657a4fae5a0e7466)

This won't work as

`nftCollection.transferFrom(msg.sender, address(this), _tokenId);` this threw error , callewr is not owner nor approve which is obvious as for NFT contract msg.sender is not user but staking contract and can't use transferfrom. correct me if i'm wrong.

[Eleftheria Batsou](https://hashnode.com/@eleftheriabatsou)

[Jun 7, 2022](https://hashnode.com/posts/create-an-nft-staking-smart-contract-with-solidity-and-thirdweb-deploy/629e2481a6bfa05457952672/comment/629f1fdeaa1e065bd75f69b7)

This is a great tutorial, thanks [Jarrod Watts](https://hashnode.com/@JarrodWatts).

[Jarrod Watts](https://hashnode.com/@JarrodWatts)

[Jun 8, 2022](https://hashnode.com/posts/create-an-nft-staking-smart-contract-with-solidity-and-thirdweb-deploy/629e2481a6bfa05457952672/comment/629f1fdeaa1e065bd75f69b7#reply-62a03f53cfaf9d6954b15533)

Thanks a lot Eleftheria!
