Skip to content

Commit

Permalink
Merge pull request #289 from xpepermint/master
Browse files Browse the repository at this point in the history
Fix abi paths
  • Loading branch information
xpepermint authored Dec 2, 2021
2 parents 246e7cc + 88b25ae commit b7a4955
Show file tree
Hide file tree
Showing 6 changed files with 28,511 additions and 892 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12, 14] # https://nodejs.org/en/about/releases/
node-version: [16] # https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.vscode
node_modules
dist
abi
build
# Config files,
.idea/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ $ npm run test
To interact with this package's contracts within JavaScript code, you simply need to require this package's `.json` files:

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

Expand Down
2 changes: 1 addition & 1 deletion hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
tests: './src/tests/*'
},
abiExporter: {
path: './data/abi',
path: './abi',
clear: true,
flat: true,
}
Expand Down
Loading

0 comments on commit b7a4955

Please sign in to comment.