Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Cameron White
    @camwhite
    yeah for sure @coyotespike thanks
    JR Moreau
    @jrmoreau
    Dropping two tech questions from Issue #83
    Since Colony is currently using a private chain, is our best option to also run a private node/chain and just read data from there? Alternatively, could we deploy all the Colony contracts to Rinkeby testnet and just interact with them on testnet (so we do not have to maintain a node running the whole time)?
    I can see helper methods in ColonyNetworkClient like getColonyClientByAddress(contractAddress) and getColonyClient(id) which will allow me to get the ColonyClient object given an address or id, but I still need to crawl all the addresses of the created colonies. If i'm not mistaken, then I should be able to look at the output addresses of my deployed IColonyNetwork.sol contract and try to initialize a ColonyClient on the address with the ColonyNetworkClient helper methods?
    zillerium
    @zillerium
    hi
    I guess no one is here
    JR Moreau
    @jrmoreau
    @zillerium we had a few folks on here earlier - feel free to leave your questions and someone will get back to you soon
    Griffin Ichiba Hotchkiss
    @gichiba
    @camwhite >What goes inside that json string?
    So in JSON.stringify(spec) the spec is an object that you can define elsewhere in your code.
    Griffin Ichiba Hotchkiss
    @gichiba
    Unfortunately IPFS can't accept that object directly. It needs a Buffer (a binary representation of the data). The stringify-ed JSON is deterministic way to get your object (which could be many possible things) converted to a Buffer. So it could be something as simple as some plaintext description of work to be done.
    Joseph Schiarizzi
    @jschiarizzi
    Policy on multiple submissions?
    Ânderson Q.
    @42piratas
    @collinvine Hey Collin! May I have access to the beta as well, just to feel what you were working on?
    Griffin Ichiba Hotchkiss
    @gichiba
    @jschiarizzi If you're intending to actually complete and submit two separate projects, I suppose that's fine... but otherwise you should probably close the issue that you're not going to work on.
    Collin Vine
    @collinvine
    @42piratas yessir, can you DM me your email and I'll send one over
    KCWx9
    @KCWx9
    @collinvine Could I have access to the beta as well? For a visual reference to your implementation.
    I've dm'd you
    Collin Vine
    @collinvine
    Sure @KCWx9 dm me your email
    KCWx9
    @KCWx9
    Thanks!
    Griffin Ichiba Hotchkiss
    @gichiba
    Hello! So as it's been for the past few times, you can ask your questions here! feel free to ask both technical and general questions
    Christian Maniewski
    @chmanie
    👋
    Griffin Ichiba Hotchkiss
    @gichiba
    Also, if anyone happens to be at the CogX conference in London today, come say hi!
    KCWx9
    @KCWx9
    Is there a best practice for using Colonies instead of Domains?
    Griffin Ichiba Hotchkiss
    @gichiba
    Hey @KCWx9 I don't think there are any 'best practices' yet! what are you thinking?
    KCWx9
    @KCWx9

    @gichiba
    So TrueGift has 2 core elements:

    1. A collaboration platform for crowdsourcing solutions to 21st century challenges.
      Domain structure: context -> challenges -> solutions -> blueprints -> courses // may require more granularity
      Example: industry -> collaboration -> Colony.io -> colonyJS -> 'Learn colonyJS course'

    2. Decentralised operations based on location for the co-creation of unique products by upcycling unwanted / unused materials through crowdsourced donations of time and skill.
      Use case: A family (could be a business, individual, govt, etc) in location X buys a new table, and call their local TrueGift node for collection / delivery of the unwanted wooden table (could be any resource or service). The table is added to a domain based on location and a new task is created with specific reputation and token (could be an auction for the opportunity) requirements depending on the quality of the materials and work (skills) required. User 1 fixes a wonky leg and sands down the rough edges, etc. User 2 adds some extra drawers and some secret compartments. User 3 paints the table and adds a protective varnish. The 3 contributing users decide (a local vote could be a fallback if undecided) whether they want to direct the funds to predefined pots (in Element 1) or let the buyer decide. The unique product is then set for auction and sold.
      Domain structure: layers of location -> Decentralised operations
      Example: Europe -> Netherlands -> Amsterdam -> TrueGift Ops 1

    I could use 2 parent domains or I could set up another colony. I'm wondering whether you have any thoughts of what works best in these kind of situations?

    Christian Maniewski
    @chmanie
    @KCWx9 currently the contracts only support domains of one level depth
    So in general I’d suggest to use nested domains for that because you might need to use the concept of reputation at some point
    BUT we don’t support that, yet
    KCWx9
    @KCWx9
    @chmanie Okay, so 1 Colony split into 2 main Domains with everything else nested within each of them?
    My focus is on architecture design right now and then getting a prototype UI complete before I begin the heavy lifting with Colony
    Christian Maniewski
    @chmanie
    Architecture wise that might be sensible, but I don’t know when we will be supporting nested domains
    Christian Maniewski
    @chmanie
    Yes
    KCWx9
    @KCWx9
    I could create many domains but only apply the contracts to the top level domain?
    KCWx9
    @KCWx9
    Okay, I know what I have to do. Thanks!
    KCWx9
    @KCWx9
    @chmanie Is there a limit to the depth of tasks at the moment?
    Christian Maniewski
    @chmanie
    We don’t support sub tasks if that’s what you’re looking for
    So just one level deep
    Siddhartha Sahai
    @sidthekidder

    @KCWx9 currently the contracts only support domains of one level depth

    Just clarifying, you mean 1 domain -> x subdomains -> y tasks right? Or 1 domain -> x tasks

    John Grant
    @johngrantuk
    Hi, quick question - if I used ColonyNetworkClient.getColony.call({ id:i }); how would I then use the address to find the colony token name/symbol?
    Griffin Ichiba Hotchkiss
    @gichiba
    Hey, there is also a getToken.call() which might be helpful there
    it will, however just return the address of the token
    getToken is a colonyClient method, not a colonyNetworkClient method
    @johngrantuk
    Christian Maniewski
    @chmanie
    @sidthekidder 1 domain -> x tasks
    John Grant
    @johngrantuk
    thanks @gichiba. so it seems like we'd need to store the token name/symbol somewhere centrally and reference it to the address
    Griffin Ichiba Hotchkiss
    @gichiba
    @johngrantuk yeah, you could do that, but many tokens also choose to have that available on chain, as in here: https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/contracts/token/ERC20/DetailedERC20.sol
    But yeah, there's no colonyJS caller to grab a colony's token symbol at the moment
    John Grant
    @johngrantuk
    ok, thanks
    Kevin Lu
    @KevinLiLu
    Are the special reward pot (pot[0]) and working capital pot (pot[1]) restricted to the colony token type? I remember reading that colonies can pay out in ether, CLNY, the colony token, or any whitelisted erc20 token.
    If they can be any of the above, then how can I get the ether pot balance for example? There is a getPotBalance.call({ potId, token }) but what address would I use to get the ether balance?