Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Â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?
    Christian Maniewski
    @chmanie
    @KevinLiLu naturally I’d think that you could get the ether balance by using 0x0 for the token address.
    But I’ll double check
    Christian Maniewski
    @chmanie
    Confirmed. We will add it to the docs!
    @gichiba ☝️
    Griffin Ichiba Hotchkiss
    @gichiba
    :thumbsup:
    Christian Maniewski
    @chmanie
    Thanks!
    Dan Coman
    @dancomanlive
    How to link MetaMask to colony starter, and how to add a task?
    Christian Maniewski
    @chmanie
    The hackathonStarter?
    It’s a node.js project, so MetaMask will be tough to integrate (not impossible, though). To use it in a browser you need to transpile the files with something like babel (using webpack for example)
    Christian Maniewski
    @chmanie
    @dancomanlive the task creation is exemplified here: https://github.com/JoinColony/hackathonStarter/blob/master/src/create_task.js