Giter Club home page Giter Club logo

taquito-pinata-tezos-nft's Issues

Two small changes required for set up

Hi @claudebarde , thanks for the great article! I ran into two small issues setting this up locally.

I'm not able to submit a PR, but in case anyone comes across this, these are the changes I needed to make:

In backend/src/index.ts:

-  const PinataKeys = require("./PinataKeys");
+  const PinataKeys = require("./PinataKeys").default;

In frontend/src/App.svelte:

-          data.status === 200 &&
+          data.status === true &&

still having issues building

Frontend built, backend no:

12 pinata = pinataSDK(process.env.PINATA_API_KEY, process.env.PINATA_SECRET_KEY);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/index.ts:15:12 - error TS2348: Value of type 'typeof PinataClient' is not callable. Did you mean to include 'new'?

15 pinata = pinataSDK(PinataKeys.apiKey, PinataKeys.apiSecret);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Found 2 errors in the same file, starting at: src/index.ts:12

npm ERR! code 2
npm ERR! path /Users/James/taquito-pinata-tezos-nft/backend
npm ERR! command failed
npm ERR! command sh -c tsc

Florencenet is deprecated

Hi @claudebarde, thanks for the excellent tutorial. I think I almost have it working however Florencenet is deprecated as of August 6, 2021

I assume changing the references to Hangzhounet will fix this however I'm unable to submit a PR

Cheers!

Tutorial is hard to follow

Hi Claude!

Assuming this is the tutorial:
https://wiki.tezos.com/build/create-a-tezos-token/nft

It looks like the tutorial is written for production but there's no instructions on setting up Heroku or any path/filenames for the code snippets.

Could you please add some steps to set up Heroku with the url please? Or how to get up and running on localhost?

I tried running npm install on macbook in frontend directory but got:

npm ERR! path /Users/leotreasure/taquito-pinata-tezos-nft/frontend/node_modules/node-sass

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.