diff --git a/Assets/MirageSDK/Examples/Scripts/UseCases/LoadNFTs/ReadMe.md b/Assets/MirageSDK/Examples/Scripts/UseCases/LoadNFTs/ReadMe.md index e87cd295..3263ab82 100644 --- a/Assets/MirageSDK/Examples/Scripts/UseCases/LoadNFTs/ReadMe.md +++ b/Assets/MirageSDK/Examples/Scripts/UseCases/LoadNFTs/ReadMe.md @@ -1,6 +1,6 @@ # Update NFT -This is an example for one of the use cases for this sdk :
Checking if someone owns an NFTs. This use case is usefull when you want to know if someone has specific NFTs to then let him use them ingame. +This is an example for one of the use cases for this sdk :
Checking if someone owns an NFTs. This use case is useful when you want to know if someone has specific NFTs to then let him use them ingame. ### How To To start this Use Case we will first need to initialize the SDKWrapper and store the contracts that we will use here inside some private variables. For this example we will reuse the GameCharacterContract used in the WearableNFTExample Use Case. @@ -32,4 +32,4 @@ If you need to get the ID of a specific NFT you can use the tokenOfOwnerByIndex ``` -Once you have checked that the authenticated wallet has an NFT you can then give access to it for the user. You can for exemple let him use Hero X if he has the Hero X NFT. \ No newline at end of file +Once you have checked that the authenticated wallet has an NFT you can then give access to it for the user. You can for example let him use Hero X if he has the Hero X NFT. \ No newline at end of file diff --git a/Assets/MirageSDK/Examples/Scripts/UseCases/WearableNFTs/ReadMe.md b/Assets/MirageSDK/Examples/Scripts/UseCases/WearableNFTs/ReadMe.md index 76be9682..1af2d3b6 100644 --- a/Assets/MirageSDK/Examples/Scripts/UseCases/WearableNFTs/ReadMe.md +++ b/Assets/MirageSDK/Examples/Scripts/UseCases/WearableNFTs/ReadMe.md @@ -15,7 +15,7 @@ To start this Use Case we will first need to initializethe SDKWrapper and store You can then use the different functions available to interact with the contracts, these are inside the script WearableNFTExample.cs. -The MintItems and MintCharacter functions are there just to showcase how these would work in a server side environment. Those functions should not work if used by the client because he does not have the minter role and shouldnt have it for security reasons. The minter Role should be given to the server and the client should send a request to mint directly to the server. +The MintItems and MintCharacter functions are there just to showcase how these would work in a server side environment. Those functions should not work if used by the client because he does not have the minter role and shouldn't have it for security reasons. The minter Role should be given to the server and the client should send a request to mint directly to the server. The Contract with the minter rĂ´le requirement should look like this : ```solidity @@ -27,7 +27,7 @@ function safeMint(address to) public onlyRole(MINTER_ROLE) { ``` -Using the ChangeHat Functions you can change the NFT-Hat currently used by the NFT-Character. For this to work you have to link the adress of your hat and you should own the character that you want to equip the hat on as written on the contract. If the character already has a hat equiped the old one will be sent back to your wallet. +Using the ChangeHat Functions you can change the NFT-Hat currently used by the NFT-Character. For this to work you have to link the address of your hat and you should own the character that you want to equip the hat on as written on the contract. If the character already has a hat equipped the old one will be sent back to your wallet. ```solidity function changeHat(uint256 characterId, uint256 newHatId) public { @@ -48,5 +48,5 @@ function changeHat(uint256 characterId, uint256 newHatId) public { ``` -The GetHat Function will allow you to check which hat is equiped on the character. -The GetTokenInfo Function will allow you to get informations on the Character NFT you own (if you have multiple ones it will take the 1st). \ No newline at end of file +The GetHat Function will allow you to check which hat is equipped on the character. +The GetTokenInfo Function will allow you to get information on the Character NFT you own (if you have multiple ones it will take the 1st). \ No newline at end of file diff --git a/README.md b/README.md index 3a4168f2..c0a5a22b 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ The Mirage Unity SDK provides an easy way to interact with Web3 and to work with
  • Getting Started
  • @@ -216,7 +216,7 @@ public class TransactionEventHanlder : ITransactionEventHandler ## SDK Detailed description ### IMirageSDK -After you finished connecting your wallet via WalletConnect you can access SDK Functionallity. First of all you should get an sdk Instance: +After you finished connecting your wallet via WalletConnect you can access SDK Functionality. First of all you should get an sdk Instance: ```c# var sdk = MirageSDKWrapper.GetMirageSDKInstance(""); ```