memoscan
← all memos

Memo 0xca77cc79…644d2b on Ethereum

Improve SlackbotHave an existing slackbot which needs improving. Currently based on the ** blocktrail.com ** api. Part 1 The weakness of this is that each wallet in the channel can be managed by the owner of the API key. There is nothing to stop anyone with the API Key from emptying out the funds. How can this be secured? Part 2 I want to introduce a command escrow which is the same as the existing pay command but delays payment based on the involvement of a third user (moderator) who is chosen by both users. Like this: @user1 = originator types /bot escrow 0.01 BTC to @user2 moderator @user3 slack returns uniqueid slack asks @user2 to confirm escrow and moderator slack asks @user3 to confirm escrow and moderator Then when work is done @user1 release escrow <ID> @user2 release escrow <ID> @user3 release escrow <ID> 2 out of 3 will release payment to @user2