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

Thinz crypto #9

Open
wants to merge 58 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
1a60fad
First commit
KenNguyen-dev Feb 20, 2022
0deea4e
Update README.md
KenNguyen-dev Feb 21, 2022
12aed3f
Update README.md
KenNguyen-dev Feb 21, 2022
c577ec1
Update README.md
KenNguyen-dev Feb 21, 2022
21fd19d
Update README.md
KenNguyen-dev Feb 21, 2022
608d93a
[thinz-crypto] navbar redesign
Mar 5, 2022
6309b99
design homepage 50%
Mar 29, 2022
9208b44
Add login and account details page
KenNguyen-dev Mar 30, 2022
95da9dd
Rename File
KenNguyen-dev Mar 31, 2022
84db53a
Add auth and refactor code
KenNguyen-dev Apr 1, 2022
4b3d2b5
Remove Private Route for developing. Add Account Page
KenNguyen-dev Apr 3, 2022
4edf245
Add Card Component
KenNguyen-dev Apr 3, 2022
d1a31f5
login
Apr 6, 2022
e31891f
merge code
Apr 6, 2022
b160de8
Mint NFT Form
KenNguyen-dev Apr 8, 2022
480377d
Add NFT Details
KenNguyen-dev Apr 12, 2022
c217ec0
Add explore collection
KenNguyen-dev Apr 12, 2022
ba2b9bd
Add list item for sale
KenNguyen-dev Apr 16, 2022
c00410b
Add handling pages
KenNguyen-dev Apr 17, 2022
14979e3
Add collection page , filter sider, and move some page
KenNguyen-dev Apr 18, 2022
1676f3f
Add redux, add login func and setting func
KenNguyen-dev Apr 21, 2022
f06d537
Add reducers and actions, fix breaking bug
KenNguyen-dev Apr 24, 2022
d2e2b8c
Add collection redux
KenNguyen-dev Apr 26, 2022
c5e13f7
Fix lots of bug, add redux for asset, get asset from server
KenNguyen-dev Apr 27, 2022
ade71bb
Add users account and fix logic
KenNguyen-dev Apr 28, 2022
a10f96a
Add Edit Asset and Fix Main Setting
KenNguyen-dev Apr 28, 2022
4eed287
Add create collection and edit collection
KenNguyen-dev May 2, 2022
a7425d8
Mint NFT
KenNguyen-dev May 6, 2022
607a181
Add nft to marketplace and listing
KenNguyen-dev May 9, 2022
2122125
ok
May 9, 2022
ea6b41e
fix conflict
May 9, 2022
0ee303e
create gif and mp4
May 23, 2022
c1ebbb3
Update Price and add Price History
KenNguyen-dev May 23, 2022
6795387
Ver 1.0 with testing
KenNguyen-dev May 27, 2022
d67b4eb
Add testing
KenNguyen-dev May 29, 2022
dffeb1f
Remove unused code and fix logic
KenNguyen-dev May 29, 2022
1fb5575
Bug fix
KenNguyen-dev May 30, 2022
597c84c
Auction Commit
KenNguyen-dev Jun 6, 2022
efa16a9
Merge pull request #3 from KenNguyen-dev/Auction-Branch
KenNguyen-dev Jun 6, 2022
488618d
Add condition to MintNFT and ListingNFT
KenNguyen-dev Jun 6, 2022
bd3c3a5
Fix minor issue
KenNguyen-dev Jun 7, 2022
02ed940
Fix issues
KenNguyen-dev Jun 7, 2022
fb2b076
filter explore
Jun 8, 2022
8634b5f
fix conflitc
Jun 8, 2022
1064a50
Add filter for user page
KenNguyen-dev Jun 8, 2022
d250a35
Merge branch 'thinz-crypto' of https://github.com/KenNguyen-dev/crypt…
KenNguyen-dev Jun 8, 2022
41a1464
Create collection and Edit Asset
KenNguyen-dev Jun 9, 2022
5e027f1
Add to favorite function
KenNguyen-dev Jun 9, 2022
d29108a
Update App.js
KenNguyen-dev Jun 9, 2022
777dbb6
Fix edit asset and edit collection
KenNguyen-dev Jun 10, 2022
f625484
Remove unused code and file
KenNguyen-dev Jun 10, 2022
854deb2
Fix listing and update price
KenNguyen-dev Jun 11, 2022
ff931a6
complete explore and favorite
Jun 16, 2022
ebea5a5
Merge branch 'thinz-crypto' of https://github.com/KenNguyen-dev/crypt…
Jun 16, 2022
2036313
Fix minor issue
KenNguyen-dev Jun 26, 2022
a2ecebe
fix mint nft
Jun 26, 2022
839f3e0
fix conflict
Jun 26, 2022
712dd47
Add abi for deployment
KenNguyen-dev Jul 3, 2022
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
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
REACT_APP_API_URL = http://localhost:22530
REACT_APP_PROJECT_ID = 28hqHJHf9Xje5Mvo2e9pPib7Zd4
REACT_APP_PROJECT_SECRET = 989d0b61104b6f31a0265e36b11ed631
REACT_APP_IPFS_URL = https://ipfs.infura.io/ipfs
REACT_APP_MARKETPLACE_CONTRACT_ADDRESS = 0xEa2D7214971BF72217bB9dCC2221c8318503bbF6
REACT_APP_AUCTION_CONTRACT_ADDRESS = 0x8c812B00686f6EE635ea5E3cD3Ce282ACc4dacEa
REACT_APP_NFT_CONTRACT_ADDRESS = 0x171B19F8E12CD8c3a23C0Ca298C88c91de02F823
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/node_modules
/.pnp
.pnp.js

/build
# testing
/coverage

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
- Access Crypto Boy Marketplace DApp at [cryptoboys-NFT-marketplace](https://devpavan04.github.io/cryptoboys-nft-marketplace/) and start minting your Crypto Boys.
#
### Run the DApp Locally
#### Open new terminal window and clone this repository
```
git clone https://github.com/devpavan04/cryptoboys-NFT-marketplace.git
```
#### Install truffle
```
npm install -g truffle
Expand All @@ -37,11 +41,7 @@ npm i ganache-cli
```
#### Run ganache-cli
```
ganache-cli --port 7545
```
#### Open new terminal window and clone this repository
```
git clone https://github.com/devpavan04/cryptoboys-NFT-marketplace.git
ganache-cli --port 8545
```
#### Install dependencies
```
Expand All @@ -64,5 +64,5 @@ truffle test
```
npm start
```
- Open metamask browser wallet and connect network to Localhost 7545.
- Open metamask browser wallet and connect network to Localhost 8545.
- Import accounts from ganache-cli into the metamask browser wallet to make transactions on the DApp.
Binary file removed image.png
Binary file not shown.
14 changes: 12 additions & 2 deletions migrations/2_deploy_contracts.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
const CryptoBoys = artifacts.require("CryptoBoys");
const NFTMarketplace = artifacts.require("NFTMarketplace");
const NFT = artifacts.require("NFT");
const NFTAuction = artifacts.require("NFTAuction");

module.exports = async function(deployer) {
await deployer.deploy(CryptoBoys);
await deployer.deploy(NFTMarketplace).then(async () => {
await deployer.deploy(NFTAuction).then(async () => {
await deployer.deploy(NFT, NFTMarketplace.address, NFTAuction.address);
});
});

console.log("NFTMarketplace deployed to address:", NFTMarketplace.address);
console.log("NFTAuction deployed to address:", NFTAuction.address);
console.log("NFT deployed to address:", NFT.address);
};
Loading