Skip to content

Commit

Permalink
Fix abi paths
Browse files Browse the repository at this point in the history
  • Loading branch information
xpepermint committed Dec 2, 2021
1 parent d15fdd5 commit 4205d4f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
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
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nibbstack/erc721",
"version": "2.5.1",
"version": "2.6.0",
"description": "Reference implementation of the ERC-721 non-fungible token standard.",
"scripts": {
"test": "npx hardhat test",
Expand Down

0 comments on commit 4205d4f

Please sign in to comment.