0.5.0 • Published 3 years ago
create-nevermined-react v0.5.0
Create Nevermined React
Create Nevermined React is a getting started template which includes an example with all
the functionalities needed to start developing your dApp with Nevermined
Requirements
How to install
There is two ways to install the getting started template:
Installing the script in your system
npm i -g create-nevermined-reactcreate-nevermined-react my-nevermined-dapp
- With
npm init
npm init nevermined-react my-nevermined-dapp
Note: You can overwrite my-nevermined-dapp by other name that you prefer
Start the app
cd my-nevermined-dappyarn && yarn start
Workflow example
The example included in the template covers the most used functionalities to work with NFT1155, for others assets or more info please see the documentation.
Requirements: The accounts wallet used for the example need to have Matic and USDC
- Connect the wallet
- Click
Mintbutton and approve transactions and sign authorization in the wallet - As an owner once the token is minted the
Mintbutton will change toDownload NFT - Click in
Download NFTto get the example asset (in this case is a JSON file example) - Change the account in the wallet
- Click in
Buybutton and approve transactions and sign authorization in the wallet - As a buyer once the token is bought the
Buybutton will change toDownload NFT - Repeat the step 4
Warning: The data is not persistent, once that the browser is reloaded the workflow example starts from the beginning again