{"ScriptPreparationCode":"var tx = {\r\n ref_block_num: 1234,\r\n ref_block_prefix: 445566,\r\n expiration: \u00272017-07-09T10:00:00.000\u0027,\r\n operations: [[\u0027vote\u0027, {\r\n voter: \u0027foo\u0027,\r\n\t\tauthor: \u0027bar\u0027,\r\n permlink: \u0027i-like-turtles\u0027,\r\n weight: 10000\r\n }]],\r\n extensions: [],\r\n\tsignatures: []\r\n}\r\nvar keyWif = \u00275JQy7moK9SvNNDxn8rKNfQYFME5VDYC2j9Mv2tb7uXV5jz3fQR8\u0027\r\n\r\nvar dsteemKey = dsteem.PrivateKey.fromString(keyWif)\r\nvar dsteemClient = new dsteem.Client()\r\n\r\nvar steemjsKey = {posting: keyWif}","TestCases":[{"Name":"dsteem sign tx","Code":"dsteemClient.broadcast.sign(tx, dsteemKey)","IsDeferred":false},{"Name":"steem-js sign tx","Code":"steem.auth.signTransaction(tx, steemjsKey)","IsDeferred":false},{"Name":"dsteem wif to public","Code":"dsteem.PrivateKey.from(keyWif).createPublic()","IsDeferred":false},{"Name":"steem-js wif to public","Code":"steem.auth.wifToPublic(keyWif)","IsDeferred":false}]}