Release 1.0.0
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)