diff options
author | Jacob Evans <dekz@dekz.net> | 2018-04-06 14:52:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-06 14:52:44 +0800 |
commit | 524e4707d2274185f68f3ddfb82367a46429876d (patch) | |
tree | 3695c7c8ba8c4cb26b29597311f2fb20a3f63a3c /packages/subproviders/test/utils | |
parent | 277e58c2e57489a6ac8e8276fe16ec511d3f01fe (diff) | |
parent | a0fac663f72feafbac98c2949578ec48b8d2ec0a (diff) | |
download | dexon-sol-tools-524e4707d2274185f68f3ddfb82367a46429876d.tar dexon-sol-tools-524e4707d2274185f68f3ddfb82367a46429876d.tar.gz dexon-sol-tools-524e4707d2274185f68f3ddfb82367a46429876d.tar.bz2 dexon-sol-tools-524e4707d2274185f68f3ddfb82367a46429876d.tar.lz dexon-sol-tools-524e4707d2274185f68f3ddfb82367a46429876d.tar.xz dexon-sol-tools-524e4707d2274185f68f3ddfb82367a46429876d.tar.zst dexon-sol-tools-524e4707d2274185f68f3ddfb82367a46429876d.zip |
Merge pull request #506 from 0xProject/feature/subproviders/pk-wallet-subprovider
Private Key subprovider
Diffstat (limited to 'packages/subproviders/test/utils')
-rw-r--r-- | packages/subproviders/test/utils/fixture_data.ts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/subproviders/test/utils/fixture_data.ts b/packages/subproviders/test/utils/fixture_data.ts new file mode 100644 index 000000000..890573d0d --- /dev/null +++ b/packages/subproviders/test/utils/fixture_data.ts @@ -0,0 +1,23 @@ +const TEST_RPC_ACCOUNT_0 = '0x5409ed021d9299bf6814279a6a1411a7e866a631'; +const networkId = 42; +export const fixtureData = { + TEST_RPC_ACCOUNT_0, + TEST_RPC_ACCOUNT_0_ACCOUNT_PRIVATE_KEY: 'F2F48EE19680706196E2E339E5DA3491186E0C4C5030670656B0E0164837257D', + PERSONAL_MESSAGE_STRING: 'hello world', + PERSONAL_MESSAGE_SIGNED_RESULT: + '0x1b0ec5e2908e993d0c8ab6b46da46be2688fdf03c7ea6686075de37392e50a7d7fcc531446699132fbda915bd989882e0064d417018773a315fb8d43ed063c9b00', + TESTRPC_DERIVATION_PATH: `m/44'/60'/0'/0`, + NETWORK_ID: networkId, + TX_DATA: { + nonce: '0x00', + gasPrice: '0x0', + gas: '0x2710', + to: '0x0000000000000000000000000000000000000000', + value: '0x00', + chainId: networkId, + from: TEST_RPC_ACCOUNT_0, + }, + // This is the signed result of the abouve Transaction Data + TX_DATA_SIGNED_RESULT: + '0xf85f8080822710940000000000000000000000000000000000000000808078a0712854c73c69445cc1b22a7c3d7312ff9a97fe4ffba35fd636e8236b211b6e7ca0647cee031615e52d916c7c707025bc64ad525d8f1b9876c3435a863b42743178', +}; |