Skip to content

Commit

Permalink
newone
Browse files Browse the repository at this point in the history
  • Loading branch information
Umair Riaz committed Jan 13, 2022
1 parent fbf3976 commit b4582be
Show file tree
Hide file tree
Showing 33 changed files with 53,864 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NEXT_PUBLIC_WORKSPACE_URL=https://kovan.infura.io/v3/8c661edd6d764e1e95fd0318054d331c
3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["next", "next/core-web-vitals"]
}
1 change: 1 addition & 0 deletions .example.infuraid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
""
44 changes: 44 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

.secret
.infuraid
config.js

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local

# vercel
.vercel

node_modules

#Hardhat files
cache
artifacts
14 changes: 14 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
tasks:
- name: Install, start node, and deploy
init: yarn
command: npx hardhat node
- name: Deploy smart contract and start server
command: |
export CLIENT_URL="$(gp url 8545)"
gp await-port 8545
npx hardhat run scripts/deploy.js --network localhost
npm run dev
openMode: tab-after
ports:
- port: 3000-8545
visibility: public
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
1. npm install
2. npx hardhat compile
3. enter your private key of ethereum wallet account in .secret file
4. npx hardhat run --network kovan scipts/deploy.js
5. npm run build
6. npm run start
2 changes: 2 additions & 0 deletions config.example.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export const nftmarketaddress = ""
export const nftaddress = ""
Loading

0 comments on commit b4582be

Please sign in to comment.