Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 05 11:34

    chmanie on develop

    Update README.md (compare)

  • Aug 05 11:34

    chmanie on develop

    Update README.md (compare)

  • Mar 05 14:19
    CLAassistant commented #120
  • Mar 05 14:19
    CLAassistant commented #120
  • Nov 09 2019 12:01
    lepidotteri edited #121
  • Nov 09 2019 12:01
    lepidotteri edited #121
  • Nov 09 2019 11:58
    lepidotteri edited #121
  • Nov 09 2019 11:58
    lepidotteri edited #121
  • Nov 09 2019 11:57
    lepidotteri opened #121
  • Nov 09 2019 11:57
    lepidotteri opened #121
  • Oct 15 2019 14:15
    heiho1 edited #120
  • Oct 15 2019 14:15
    heiho1 edited #120
  • Oct 13 2019 07:54
    ryanchristo edited #120
  • Oct 13 2019 07:54
    ryanchristo edited #120
  • Oct 13 2019 07:54
    ryanchristo edited #120
  • Oct 13 2019 07:54
    ryanchristo edited #120
  • Oct 13 2019 07:48
    ryanchristo labeled #120
  • Oct 13 2019 07:48
    ryanchristo labeled #120
  • Oct 13 2019 07:48
    ryanchristo assigned #120
  • Oct 13 2019 07:48
    ryanchristo assigned #120
Ghost
@ghost~5803db5dd73408ce4f2eac56
No problem.
Joera Mulders
@Joera
Hi, i am trying out the starter. connectNetwork and createToken work, but then createColony will not return an ID, nor address. How do i debug this? Is this a familiar case?
Ghost
@ghost~5803db5dd73408ce4f2eac56
@Joera Hey! The createColony method returns the colony id and address in the event data.
It should look something like this:
  const {
    eventData: { colonyAddress, colonyId }
  } = await networkClient.createColony.send({ tokenAddress });
Joera Mulders
@Joera
yes, but ....

account[0] createToken:

Token Address: 0x5CC4a96B08e8C88f2c6FC5772496FeD9666e4D1F

account[0] createColony:

Colony Address: undefined
Colony ID: undefined

Ghost
@ghost~5803db5dd73408ce4f2eac56
Interesting. You are using the colony-starter-basic package, correct? And no error are logged?
Let me try a fresh install and attempt to reproduce.
Joera Mulders
@Joera
yes, version from yesterday
Ghost
@ghost~5803db5dd73408ce4f2eac56
ok, hang tight
Joera Mulders
@Joera
the only difference between my 'setup' and the docs is that i have the colonyNetwork folder 'next' to the starter folder instead of in the starter/lib folder. Had to change a few paths ..but that shouldnt matter here right?
Ghost
@ghost~5803db5dd73408ce4f2eac56
Correct, it should not matter where colonyNetwork lives as long as you can spin up a test network with it.
I’m hitting an error running a fresh version of colony-starter-basic.
I’m in the middle of updating the packages and I think I resolved the issue in the version pending publication.
Hang tight and I’ll try to wrap up my changes and publish a new version.
Joera Mulders
@Joera
Take your time. i may continue only this evening. Paid work during day time ;)
Ghost
@ghost~5803db5dd73408ce4f2eac56
Ok, thank you for pointing this out! Much appreciated.
Joera Mulders
@Joera
your welcome .. i hope to make good use your work!
Ghost
@ghost~5803db5dd73408ce4f2eac56

@Joera When you get a chance, I published a new version of the colony-starter package and the colony-starter-basic package. The instructions have changed a bit in preparation to support more commands in colonyStarter.

Step 1: yarn global add @colony/colony-starter

Step 2: colony build basic

Step 3: cd colony-starter-basic

Joera Mulders
@Joera
thankyou ! will do so later today
Ghost
@ghost~5803db5dd73408ce4f2eac56
No problem! Cheers!
Joera Mulders
@Joera
works like a charm!
Ghost
@ghost~5803db5dd73408ce4f2eac56
Wahoo! Glad to hear.
Let me know if you have any other questions or come across any other issues.
Joera Mulders
@Joera
Hi, i got stuck moving funds between pots. I have minted tokens successfully, but when i use similar code to make a BN amount for the moveFundsBetweenPots method, i do get a transaction returned, but with value._bn = 0 and no value is transferred between pots. Would you have an idea?
Ghost
@ghost~5803db5dd73408ce4f2eac56
Hey @Joera! Did you claimColonyFunds after minting tokens? If so, could you send over a code snippet?
pixelpunch
@pixelpunch
Hi... am trying to have a look at the Starter React example.... were able to load everything successfully.... my metamask is active too... but nothing loads on localhost:8080... browser open in localhost:3000 and I get this error "Unable to fetch resource for contract IColonyNetwork: Failed to fetch"
Ghost
@ghost~5803db5dd73408ce4f2eac56
Hi there! It sounds like you either (1) do not have metamask set to localhost:8545, (2) you have not set up colonyNetwork in your local environment (yarn start-ganache, yarn deploy-contracts, and yarn start-trufflepig), or maybe both (1) and (2).
Ghost
@ghost~5803db5dd73408ce4f2eac56
I just tested a fresh build and I was unable to reproduce the error. Let me know once you have double checked that metamask is set to localhost:8545 and you have colonyNetwork set up in your local environment (ganache is running, the colonyNetwork contracts have been deployed, and you have trufflepig running). You might have encountered an error during one of these steps. Let me know if that is the case and I can help debug the issue.
pixelpunch
@pixelpunch
Hi Ryan, Thanks for the quick response...all good now... I redid everything from the start... after my metamask was not set to localhost:8545
Ghost
@ghost~5803db5dd73408ce4f2eac56
Wahoo! Glad you got it sorted. Let me know if you have any more questions.
pixelpunch
@pixelpunch
Actually I have one..... for the users of my app..... do they also need to have Metamask installed on their browser?
Ghost
@ghost~5803db5dd73408ce4f2eac56
It depends on the app but if you are using the colony-example-react package as is, users would need to have Metamask installed. Also, just FYI, the colony-example-react project is not production ready. Even if you switch to a remote network, data that is not stored on chain (metadata and multisig signatures) is stored using localStorage.
pixelpunch
@pixelpunch
Thanks for the info. So If I don't want the user to use Metamask, then the metadata needs to be stored in localStorage? And it is possible to do it with Colony?
Ghost
@ghost~5803db5dd73408ce4f2eac56
If you want your users to interact with the colonyNetwork smart contracts, they will need to connect to the network with their Ethereum wallet, and MetaMask is probably one of the easiest and safest ways to do that.
pixelpunch
@pixelpunch
Using a browser extension is a user pain point. There is no way that we can directly build with web3 inside Colony?
Ghost
@ghost~5803db5dd73408ce4f2eac56
If your users are interacting with the colonyNetwork contracts, they will need to sign transactions with their Ethereum wallet.
If you don't want to use MetaMask, users would need to connect with a hardware wallet or provide their private key.
Ghost
@ghost~5803db5dd73408ce4f2eac56
You could build a subscription service of some kind that would allow users to interact with your app but you would still need a wallet that was being used in the background to perform actions on the Colony Network.
pixelpunch
@pixelpunch
What about services like this? - https://developers.fortmatic.com/docs
Ghost
@ghost~5803db5dd73408ce4f2eac56
Yea. Fortmatic might be what you're looking for. I have not played around with their SDK yet but from what I understand, this might be a good fit for what you're trying to do.
pixelpunch
@pixelpunch
Thanks Ryan... you have been great help.... I will play around... will get in touch if I have more questions...
Ghost
@ghost~5803db5dd73408ce4f2eac56
No problem! I would love to see what you end up building and to hear whether Fortmatic provided the solution you were looking for. Please share a link to your project whenever you feel you are ready to share.
pixelpunch
@pixelpunch
Will do..
pixelpunch
@pixelpunch
Hi Ryan.... I was going through the docs..... and found this - https://docs.colony.io/tailor/docs-wallets - this offers 'Web3 Wallet using a private key or mnemonic' - implementing this will bypass use of Metamask/Mist, isn't it? - or am I missing something?
Ghost
@ghost~5803db5dd73408ce4f2eac56
Tailor is a tool for building a JavaScript library.
It might not be what you are looking for.
Check out https://docs.colony.io/purser/docs-overview. The same tool we are using to connect to MetaMask also has options to connect via a private key or mnemonic or a hardware wallet.
pixelpunch
@pixelpunch
Thanks Ryan.... off I go..
Ghost
@ghost~5803db5dd73408ce4f2eac56
:rocket: