Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] correct dependencies and [refactor] rewrite app.js using react hooks and [chore] clean up #2

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
/src/built-contracts
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"cSpell.words": [
"bignumber",
"browserslist",
"noopener",
"noreferrer"
]
}
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# nft
Crypto Collectible NFT Tutorial with ERC-721 Tokens

## Dependencies <br/>
Install these prerequisites to continue

NPM: https://nodejs.org <br/>
Truffle: https://github.com/trufflesuite/truffle <br/>
Ganache: http://truffleframework.com/ganache/ <br/>
Metamask: https://metamask.io/ <br/>
<br/>
## Step 1. Clone the project
```bash
https://github.com/dappuniversity/nft.git
```

## Step 2. Install dependencies
```bash
cd nft
npm install
```
## Step 3. Start Ganache
Open the Ganache GUI client that you downloaded and installed. This will start your local blockchain instance.

## Step 4. Compile & Deploy Election Smart Contract
```truffle migrate --reset``` You need to migrate contract in order to deploy in your local system
## Step 5. Configure Metamask
-Unlock Metamask <br/>
-Connect metamask to your local Ethereum blockchain provided by Ganache.<br/>
-Import an account provided by ganache.<br/>
## Step 6. Run the Front End Application
```
cd src
npm start
```
Now you Blockchain web-app is served on http://localhost:8000
Loading