Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 829 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 829 Bytes

NEAR Evaluator: Certificate Issuer

This is a work in progress

This NFT contract is part of the NEAR Evaluator project. It allows the evaluator to mint NFT if the student has covered all the requirements(evaluations).

This contract slightly deviates from the NEP-171 core implementation standard. Since the nft_transfer and nft_transfer_call are only allowed to the evaluator (owner_id) account, effectively making the certificates (NFTs) non-transferable.

1. Initializing the contract

new(owner_id: AccountId, metadata: NFTContractMetadata)

2. Minting a new NFT

nft_mint(&mut self, token_id: TokenId, token_owner_id: AccountId, token_metadata: TokenMetadata)