Skip to content
This repository was archived by the owner on May 8, 2023. It is now read-only.

Release 1.0.0

Compare
Choose a tag to compare
@chmanie chmanie released this 19 Dec 14:30
· 39 commits to main since this release

Colony SDK has grown up ๐Ÿง’

Just before the end of 2022 I'd like to introduce you all to my former brain-baby and now brain-child:

๐ŸŒฎ ๐ŸŒฎ Colony SDK version 1.0 is out! ๐ŸŒฎ ๐ŸŒฎ

A lot of love, sweat and curses went into this release, so I hope you'll appreciate it as much as I enjoyed working on it for you.

What's new?

Well, what's not? This release is packed with new features, mainly to generate feature parity between the dApp and Colony SDK. That means anything you can do in the dApp you can now do programmatically with Colony SDK ๐Ÿ‘ฉโ€๐Ÿ’ป.

That means you can now:

  • Create Motions and Decisions
  • Use MetaTransactions (no gas cost for you my friend! ๐Ÿช™ ๐Ÿ™…)
  • Manage tokens, domains, colony profiles, teams and reputation
  • Award reputation to users and smite reputation
  • Manage colony permissions, upgrade colonies and enter/exit recovery mode

and much, much more!

There's also a brand new API that was introduced and refined in versions 0.7 and 0.8. Now you just call one function with your desired arguments and then tell Colony SDK what it should do with it. Want an example?

Let's pay someone!

import { w } from '@colony/sdk';
// Just a standard gas-incuring tx. Pay someone 100 of the colony's native token
await colony.ext.oneTx.pay('0x364B3153A24bb9ECa28B8c7aCeB15E3942eb4fc5', w`100`).tx();
// Wait, this should be a motion? OK:
await colony.ext.oneTx.pay('0x364B3153A24bb9ECa28B8c7aCeB15E3942eb4fc5', w`100`).motion();
// Want to create a gasless transaction instead?
await colony.ext.oneTx.pay('0x364B3153A24bb9ECa28B8c7aCeB15E3942eb4fc5', w`100`).metaTx();

Thanks to TypeScript it will also tell you which possibilities you have for each method. Not convinced yet? Take a look at the examples!

OK, what now?

Well, I guess we start (or continue) building! If you have any more questions or want to talk about a project using Colony, let me know! Send me a mail ([email protected]), tweet at me (@chmanie) or meet me in Discord (chmanie#5800).

Until next time!

Changelog since v0.8

New stuff

  • Add missing dapp functions (61f6dd1)

Docs

  • Tiny readme adjustments for 1.0 (4681b28)
  • Prepare docs for v1.0 release (d135d59)
  • Add anchors for event- and metadata (8dc5b19)