Skip to content

Commit

Permalink
Merge pull request yusefnapora#18 from olizilla/maybe-call-it-address
Browse files Browse the repository at this point in the history
fix: label ipfs scheme URIs as "Address"
  • Loading branch information
yusefnapora authored Mar 25, 2021
2 parents b3e3dc9 + 4219dd7 commit c1dd494
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Deploying this contract to the Ethereum mainnet is a bad idea since the contract
Configuration are stored in [`./config/default.js`](./config/default.js).
The `start-local-devnet.sh` script will try to run a local IPFS daemon, which Minty will connect to on its default port. If you've already installed IPFS and configured it to use a non-standard API port, you may need to change the `ipfsApiUrl` field to set the correct API address.
The `./start-local-environment.sh` script will try to run a local IPFS daemon, which Minty will connect to on its default port. If you've already installed IPFS and configured it to use a non-standard API port, you may need to change the `ipfsApiUrl` field to set the correct API address.

The `pinningService` configuration option is used by the `minty pin` command to persist
IPFS data to a remote pinning service.
Expand Down
8 changes: 4 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ async function createNFT(imagePath, options) {

alignOutput([
['Token ID:', chalk.green(nft.tokenId)],
['Metadata URI:', chalk.blue(nft.metadataURI)],
['Metadata Address:', chalk.blue(nft.metadataURI)],
['Metadata Gateway URL:', chalk.blue(nft.metadataGatewayURL)],
['Asset URI:', chalk.blue(nft.assetURI)],
['Asset Address:', chalk.blue(nft.assetURI)],
['Asset Gateway URL:', chalk.blue(nft.assetGatewayURL)],
])
console.log('NFT Metadata:')
Expand All @@ -108,9 +108,9 @@ async function getNFT(tokenId, options) {
output.push(['Creator Address:', chalk.yellow(nft.creationInfo.creatorAddress)])
output.push(['Block Number:', nft.creationInfo.blockNumber])
}
output.push(['Metadata URI:', chalk.blue(nft.metadataURI)])
output.push(['Metadata Address:', chalk.blue(nft.metadataURI)])
output.push(['Metadata Gateway URL:', chalk.blue(nft.metadataGatewayURL)])
output.push(['Asset URI:', chalk.blue(nft.assetURI)])
output.push(['Asset Address:', chalk.blue(nft.assetURI)])
output.push(['Asset Gateway URL:', chalk.blue(nft.assetGatewayURL)])
alignOutput(output)

Expand Down

0 comments on commit c1dd494

Please sign in to comment.