Skip to content

Commit b7a4955

Browse files
authored
Merge pull request #289 from xpepermint/master
Fix abi paths
2 parents 246e7cc + 88b25ae commit b7a4955

File tree

6 files changed

+28511
-892
lines changed

6 files changed

+28511
-892
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [12, 14] # https://nodejs.org/en/about/releases/
13+
node-version: [16] # https://nodejs.org/en/about/releases/
1414
steps:
1515
- uses: actions/checkout@v2
1616
- name: Use Node.js ${{ matrix.node-version }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.vscode
33
node_modules
44
dist
5+
abi
56
build
67
# Config files,
78
.idea/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ $ npm run test
6767
To interact with this package's contracts within JavaScript code, you simply need to require this package's `.json` files:
6868

6969
```js
70-
const contract = require("@nibbstack/erc721/build/nf-token-enumerable.json");
70+
const contract = require("@nibbstack/erc721/abi/NFTokenEnumerable.json");
7171
console.log(contract);
7272
```
7373

hardhat.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
tests: './src/tests/*'
1919
},
2020
abiExporter: {
21-
path: './data/abi',
21+
path: './abi',
2222
clear: true,
2323
flat: true,
2424
}

0 commit comments

Comments
 (0)