Skip to content

Commit 77c2a19

Browse files
committed
NFTM V1.0
1 parent 81453a2 commit 77c2a19

40 files changed

+13861
-2
lines changed

.eslintrc.js

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
module.exports = {
2+
'env': {
3+
'es6': false,
4+
'node': true,
5+
},
6+
'parserOptions': {
7+
'sourceType': 'module',
8+
'ecmaVersion': 8,
9+
},
10+
'rules': {
11+
'indent': [
12+
'error',
13+
2,
14+
],
15+
'linebreak-style': [
16+
'error',
17+
'unix',
18+
],
19+
'quotes': [
20+
'error',
21+
'single',
22+
],
23+
'semi': [
24+
'error',
25+
'always',
26+
],
27+
},
28+
};

.gitignore

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
node_modules
2+
.env
3+
coverage
4+
coverage.json
5+
typechain
6+
typechain-types
7+
8+
# Hardhat files
9+
cache
10+
artifacts
11+
.deps
12+

.solhint.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "solhint:default",
3+
"rules": {
4+
"max-line-length": ["warn", 100]
5+
}
6+
}

README.md

+17-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
1-
# NFT-Market
2-
A simple NFT market.
1+
Based on the project https://github.com/liangpeili/nft-market-starter.
2+
3+
# Sample Hardhat Project
4+
5+
This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.
6+
7+
Try running some of the following tasks:
8+
9+
```shell
10+
npx hardhat help
11+
npx hardhat test
12+
REPORT_GAS=true npx hardhat test
13+
npx hardhat node
14+
npx hardhat run scripts/deploy.js
15+
```
16+
17+
![image-20231201171449102](./README/image-20231201171449102.png)

README/image-20231201171449102.png

92.9 KB
Loading

abi/ERC165.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[
2+
{
3+
"inputs": [
4+
{
5+
"internalType": "bytes4",
6+
"name": "interfaceId",
7+
"type": "bytes4"
8+
}
9+
],
10+
"name": "supportsInterface",
11+
"outputs": [
12+
{
13+
"internalType": "bool",
14+
"name": "",
15+
"type": "bool"
16+
}
17+
],
18+
"stateMutability": "view",
19+
"type": "function"
20+
}
21+
]

0 commit comments

Comments
 (0)