Skip to content

Commit aee8cc3

Browse files
authored
Merge pull request #14 from alchemyplatform/dn/update-repo
Update Repo
2 parents 4ef0cb8 + d529b23 commit aee8cc3

4 files changed

Lines changed: 4 additions & 56 deletions

File tree

.DS_Store

-6 KB
Binary file not shown.

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ git clone git@github.com:alchemyplatform/nft-api-javascript-scripts.git
1414
npm install
1515
```
1616

17-
3. Use `alchemy-web3` javascript sdk
17+
3. Use `alchemy-sdk` javascript sdk
1818

1919
```
20-
node alchemy-web3-script.js
20+
node alchemy-sdk-script.js
2121
```
2222

2323
4. Use `fetch` javascript module
@@ -35,4 +35,3 @@ node axios-script.js
3535
6. Read docs for more info
3636

3737
https://docs.alchemy.com/alchemy/enhanced-apis/nft-api
38-

alchemy-sdk-script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ const settings = {
1818
const alchemy = initializeAlchemy(settings);
1919

2020
// Print owner's wallet address:
21-
const ownerAddr = "0xshah.eth";
21+
const ownerAddr = "vitalik.eth";
2222
console.log("fetching NFTs for address:", ownerAddr);
2323
console.log("...");
2424

2525
// Print total NFT count returned in the response:
26-
const nftsForOwner = await getNftsForOwner(alchemy, "0xshah.eth");
26+
const nftsForOwner = await getNftsForOwner(alchemy, "vitalik.eth");
2727
console.log("number of NFTs found:", nftsForOwner.totalCount);
2828
console.log("...");
2929

alchemy-web3-script.js

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)