Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Add blog for using ethpm & truffle #817

Closed
wants to merge 5 commits into from

Conversation

njgheorghita
Copy link

Tutorial style blog for how to use ethpm & truffle.

@eggplantzzz
Copy link
Contributor

I went ahead and added a necessary json snippet, rebased, and went through the installation portion of the tutorial here. Looks good but I had a couple of comments that I think would make this smoother.

  1. You may want to point out that it is necessary to have a ropsten configuration to use this. The error does not make the solution completely obvious when you don't have it configured.
  2. You may also want to note that you need ENS enabled. Relevant docs are here.
  3. The erc20 package that you reference in the install section does not work out of the box so I would think that you should use the safe-math package (or some other alternative that works) which worked for me when I went through.

So I think we're on track for releasing this Wednesday! Let me know about the above.

@eggplantzzz
Copy link
Contributor

eggplantzzz commented Nov 2, 2020

Oh also do note that I force pushed so you'll have to sync your branch back up! Sorry, I probably should have just merged it in.

@njgheorghita
Copy link
Author

@eggplantzzz Thanks for the review & feedback! What exactly was wrong with the erc20 package. Was there trouble installing it or using it?

@eggplantzzz
Copy link
Contributor

eggplantzzz commented Nov 3, 2020

@njgheorghita It will not install. Here is a screenshot of what I get
Screen Shot 2020-11-03 at 12 51 08 PM

And like I said, the safe-math library is the next one I tried on a whim and it seemed to install correctly.

Oh, and I realized I said Wednesday but it looks like it will be Thursday.

@njgheorghita
Copy link
Author

@eggplantzzz Thanks for the output. It looks like I linked the incorrect registry inside the truffle-config.js. Would you mind testing this one more time? erc20-example is a much better example of what's possible rather than safe-math. I've updated all of the examples in the sample truffle-config to be equal to their default values. You should be able to install erc20-example with or without the sample truffle-config ethpm settings.

@OnlyOneJMJQ
Copy link
Contributor

@eggplantzzz Is this good to go?

@eggplantzzz
Copy link
Contributor

Not yet @DiscRiskandBisque, we are going to wait until releasing 5.2.0 which is kind of in a holding pattern right now. I'll get back to you here when it is ready to roll out. Thanks!

@eggplantzzz
Copy link
Contributor

Integrating this with the ethpm docs PR and continuing this here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants