Pull Request
Solves Issues:
Huge refactor structuring most of the code in a more sound way
New Features
Wallet
There is a new Wallet class.
private _sbd: number;
private _steem: number;
private _user: User;
private _activeKey: string;
private _danger: boolean;
The danger boolean must be set to true when making transactions (for safety!).
The Wallet is able to either send STEEM directly to another account, or power up another account.
Transactions
With the new Wallet class we can send STEEM or power up another account very easily. This closes #19 #21. This is used with the nowplaying bot in order to pay out all participants of the community instantly.
Using this the bot was able to pay the 29-member community in just a few seconds. This is all found in the main, bot, and wallet files.
Now Playing
Check out the #nowplaying community and bot in action here
Posted on Utopian.io - Rewarding Open Source Contributors