The EduVerse is a decentralized platform designed for buying, selling, and listing educational resources. Built on EDU Chain, it allows users to tokenize learning materials, such as eBooks or courses, and trade them securely using NFTs. The marketplace offers transparency, ownership, and monetization opportunities for educational creators and learners alike.
Listing Educational Resources:
0.01 EDU
applies to publish resources.Purchasing Resources:
Reselling Resources:
Viewing Resources:
Fee Management:
0.01 ether
)._courseIds
: Tracks the total number of courses created._itemsSold
: Tracks the number of resources sold.
courseId
: Unique ID of the resource.owner
: Current owner of the resource.seller
: Original lister of the resource.price
: Price of the resource.currentlyListed
: Boolean indicating whether the resource is listed.courseURI
: URI of the resource (e.g., eBook link).name
: Name of the resource.description
: Description of the resource.
createCourse(string courseName, string courseURI, uint256 price, string courseDescription)
:
executeSale(uint256 courseId)
:
resellCourse(uint256 courseId, uint256 price)
:
getAllCourses()
:
getMyCourses(address userAddress)
:
getDescriptionForCourseId(uint256 courseId)
:
updateListPrice(uint256 _listPrice)
:
withdraw()
:
getListPrice()
:
getLatestListedCourse()
:
getListedForCourseId(uint256 courseId)
:
EducationMarketPlace
contract on a supported EDU Chain.
createCourse()
with the resource name, URI, price, and description.0.01 ether
) with the transaction.
executeSale()
with the resource ID.
resellCourse()
with the resource ID and desired price.
withdraw()
to transfer accumulated fees to their address.
CourseCreated(uint256 indexed courseId, address indexed seller, uint256 price, string courseURI)
CourseSold(uint256 indexed courseId, address indexed buyer, uint256 price)
CourseRelisted(uint256 indexed courseId, address indexed seller, uint256 price)
ListPriceUpdated(uint256 newListPrice)
ReentrancyGuard
to prevent reentrancy attacks.the EduVerse platform revolutionizes the way educational resources are traded by leveraging the power of decentralized technology and NFTs. It enables educators and learners to securely buy, sell, and resell educational materials, fostering a transparent and monetizable ecosystem. With a seamless marketplace and secure ownership transfer, EduVerse provides a unique solution for the future of digital education.