Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Jack Gilcrest
    @jp4g
    How do I use it in a solidity file being managed in truffle
    Struggling to find any material on it
    Bryant Eisenbach
    @fubuloubu
    You use eth-brownie instead 🤣
    Nick Gheorghita
    @njgheorghita

    haha, happy to help @jp4g !

    You use eth-brownie instead

    truth!

    truffle currently supports v1 of the ethpm spec - you can find some docs here
    i’ve been working on truffle supporting ethpm v2 (the current version) - most of the code is written but pending review and likely won’t be merged into truffle until the next major version bump of truffle (v6)
    Ben Hauser
    @iamdefinitelyahuman
    @fubuloubu @njgheorghita <3
    Brownie supports ethPM v2, it's documented here - https://eth-brownie.readthedocs.io/en/stable/ethpm.html
    g. nicholas d'andrea
    @gnidan
    @njgheorghita did I tell you that this stuff has to wait for Truffle v6? I think we can preserve backwards compatibility in a non-breaking way!
    Nick Gheorghita
    @njgheorghita
    @gnidan oooh! that would be excellent!!
    Bryant Eisenbach
    @fubuloubu
    is there a uniswap manifest somewhere?
    Nick Gheorghita
    @njgheorghita
    @fubuloubu order received, coming soon
    Bryant Eisenbach
    @fubuloubu
    can I have pepperoni with that?
    also, what's the format for ethPM URIs?
    I wish this error message showed them
    Nick Gheorghita
    @njgheorghita
    ahhh yeah - it definitely could be more useful….
    ethpm://ens_name_or_contract_address:chain_id/package_name@version
    chain_id is optional and defaults to 1/mainnet
    Bryant Eisenbach
    @fubuloubu
    @njgheorghita any luck with Uni?
    Bryant Eisenbach
    @fubuloubu
    Nick Gheorghita
    @njgheorghita
    sorry the chef was busy - but he’s back now
    besides pepperoni - any particular markets you’d like included in the package?
    :heart: the tweet - thanks for the shill
    Nick Gheorghita
    @njgheorghita
    a fresh uniswap package is now up at ethpm://defi.snakecharmers.eth:1/uniswap@1.0.0
    plz don’t use it for any defi arbitrage hacks :wink:
    I’d also like to take this opportunity to shill the ethpm-cli to anybody out there who is unaware - it’s a great place to get started with using ethpm packages.
    Nick Gheorghita
    @njgheorghita
    brew install ethpm
    export WEB3_INFURA_PROJECT_ID = abc123…
    ethpm activate ethpm://defi.snakecharmers.eth/uniswap@1.0.0

    Is all you need to start interacting with any ethpm package. This will trigger an Ipython repl in your terminal fully loaded with all the contract factories, deployments, and web3 instances from the package - ready to roll

    If anyone finds this useful - has any suggestions for improvements - I’d love to hear any feedback

    Bryant Eisenbach
    @fubuloubu
    I started writing a thing that would allow me to build multi-sig transactions from normal ones for common actions. Such a pain to use a multi-sig because any complex action has to be reorganized for how the multi-sig needs to confirm transactions
    EthPM is great for this
    Also, not sure if the Gnosis safe contracts are in the multisig registry, but they totally should be
    Nick Gheorghita
    @njgheorghita
    yup! they’re actually the only package in the multisig registry
    Bryant Eisenbach
    @fubuloubu
    Been getting this warning with ethpm
    jedi/cache.py:111: DeprecationWarning: Deprecated since version 0.16.0. Use get_signatures()[...].params
      result = method(self, *args, **kwargs)
    quite annoying
    Nick Gheorghita
    @njgheorghita
    hmmm can you link me some more context? i’ve never seen that one before
    Bryant Eisenbach
    @fubuloubu
    that's just using the package from inside ipython
    with Python 3.8.1
    Nick Gheorghita
    @njgheorghita
    hmmm i’m unable to reproduce…
    Bryant Eisenbach
    @fubuloubu
    yeah, I think it may be something I'm doing
    but I don't know what
    Nick Gheorghita
    @njgheorghita
    are you using the latest ipython version - 7.12.0?
    Bryant Eisenbach
    @fubuloubu
    yup
    Nick Gheorghita
    @njgheorghita
    :shrug:
    @fubuloubu can you post that ethpm uri you were trying the other day that wasn’t valid? it’d be useful to know for writing better error msgs
    Bryant Eisenbach
    @fubuloubu
    Oh, I was doing it wrong
    also, the Gnosis Safe contracts aren't in the multisig registry, only the old Gnosis Multisig contracts
    Nick Gheorghita
    @njgheorghita
    oooh good call, putting them in the oven now
    Nick Gheorghita
    @njgheorghita
    it’s fresh right now up on multisig.snakecharmers.eth
    Bryant Eisenbach
    @fubuloubu
    Woot!