Commit Graph
181 Commits
Author SHA1 Message Date
Simon Warta fe5acb9056 Extract init.sh 2020-02-10 14:25:33 +01:00
Simon Warta 062b003a4a Fix denom of COSM and STAKE 2020-02-10 14:20:20 +01:00
Simon Warta 1280c2f8cf Pull out Webserver 2020-02-10 14:19:34 +01:00
Simon Warta 3f8ab89877 Remove obsolete setSecretAndCreateIdentities 2020-02-10 14:19:34 +01:00
Simon Warta 6075d2900c Move credit function infot Faucet 2020-02-10 14:19:34 +01:00
Simon Warta 6e53302d49 Sort some code 2020-02-10 14:19:34 +01:00
Simon Warta 46ddff93ec Move and test loadAccounts 2020-02-10 14:19:34 +01:00
Simon Warta accef527fe Move and test loadTokenTickers 2020-02-10 14:19:34 +01:00
Simon Warta 85cd71ddfe Move profile into faucet 2020-02-10 14:19:34 +01:00
Simon Warta 3b1774794d Remove obsolete tokenTicker from SendJob 2020-02-10 14:19:34 +01:00
Simon Warta 940c41ba64 Move send to Faucet; and test 2020-02-10 14:19:34 +01:00
Simon Warta d378df6b8c Move connection and codec into Faucet 2020-02-10 14:19:34 +01:00
Simon Warta 5f32796bfc Pull out TokenManager 2020-02-10 14:19:34 +01:00
Simon Warta a3b6ab5bd8 Improve codec handling 2020-02-10 14:19:33 +01:00
Simon Warta 59d336e54a Pull out faucet class
Closes #65
2020-02-10 14:19:33 +01:00
Simon Warta 144a051e39 Rename module faucet to cli 2020-02-10 14:19:33 +01:00
Simon Warta 9bcf9fed8e Use beforeAll to create contract for "contract state" block 2020-02-10 13:08:33 +01:00
Simon Warta 615892e37f Adapt faucet code to change in TokenConfiguration 2020-02-10 13:08:33 +01:00
Simon Warta df32bf6d95 Add read support for ERC20 tokens 2020-02-10 13:08:33 +01:00
Simon Warta 6e83bd6459 Let queryContractSmart return a string 2020-02-10 13:08:32 +01:00
Simon Warta 669905b11e Make bank tokens explicit 2020-02-10 13:08:32 +01:00
Ethan Frey 77294979bc Ensure metadata is set 2020-02-10 12:46:01 +01:00
Ethan Frey abe8eeeac3 Return full info on 500 errors 2020-02-10 12:41:47 +01:00
Ethan Frey efcca8a769 Download wasm code by id works 2020-02-10 12:20:32 +01:00
Ethan Frey f1e1c76baa Update rest server, pass tests 2020-02-10 12:01:21 +01:00
Simon Warta 96fc3230ed Standardize argument name 2020-02-09 14:30:42 +01:00
Simon Warta 4520953e53 Move pubkey prefixes to pubkey.ts 2020-02-09 13:47:47 +01:00
Simon Warta 00c033b669 Use CosmosAddressBech32Prefix explicitely for addresses 2020-02-09 13:43:22 +01:00
Simon Warta 1ed25c1bc0 Test pubkey response in authAccounts 2020-02-09 13:31:29 +01:00
Simon Warta af5e5a76a9 Add encodeBech32Pubkey 2020-02-09 13:27:53 +01:00
Simon Warta b2fcb0b105 Move decodeBech32Pubkey to pubkey.ts 2020-02-09 13:16:54 +01:00
Simon Warta ff78c296d4 Collect faucet data in object 2020-02-09 13:10:35 +01:00
Simon Warta 34c0f1e18f Rename type to CosmosSdkAccount 2020-02-09 13:08:28 +01:00
Simon Warta a22f035c94 Test full authAccounts return value 2020-02-09 13:05:07 +01:00
Simon Warta 736b27afaa Add address generator example 2020-02-08 20:16:43 +01:00
Simon Warta 0b5b4d569e Add Bip39, Random, encodeSecp256k1Pubkey, encodeAddress to selftest 2020-02-08 20:16:20 +01:00
Simon Warta 295ab8a35c Add missing encoding/decoding helpers in CLI 2020-02-08 20:14:44 +01:00
Simon Warta 266697a63f Pull out encodeSecp256k1Pubkey 2020-02-08 20:13:24 +01:00
Simon Warta 5bcdf286f6 Fix optional types in MsgStoreCode
If they are unset, signatures are invalid.
2020-02-07 17:32:14 +01:00
Simon Warta 80b49841a6 Let getContractAddress return most recent contract 2020-02-07 17:10:41 +01:00
Simon Warta 2ecf319ab1 Allow unset transferAmount in test code 2020-02-07 16:39:56 +01:00
Simon Warta c354af68d9 Export logs module from SDK 2020-02-07 16:30:09 +01:00
Simon Warta 8b382d76d5 Add findAttribute to logs module 2020-02-07 16:19:34 +01:00
Simon Warta cce7ee52e4 Remove unnecessary parseSuccess 2020-02-07 16:15:05 +01:00
Simon Warta 11d369b4a1 Convert CLI examples to pen 2020-02-07 09:35:24 +01:00
Simon Warta d46b59db4f Remove levelup/leveldown functionality from CLI 2020-02-07 09:29:20 +01:00
Simon Warta d7cf91eb4c Add Pen to CLI imports 2020-02-07 09:25:43 +01:00
Simon Warta 999f0f3830 Make Pen construction async and pubkey synchonous
This avoids a lot of computation, since the HD derivation only happens
once.
2020-02-07 09:24:40 +01:00
Simon Warta 3d2fe5fd03 Use Pen in RestClient tests 2020-02-07 00:33:30 +01:00
Simon Warta 9e4a79f670 Add Pen 2020-02-07 00:28:42 +01:00