Commit Graph

119 Commits

Author SHA1 Message Date
Kirill Fedoseev 83f9b1c267 Test remote docker engine 2019-10-22 15:13:06 +03:00
Kirill Fedoseev ab648b343a Added tracking of current validators in watcher, removed stub event in exchange queue 2019-10-18 17:02:47 +03:00
Kirill Fedoseev 5b18ee4179 Separate queue for exchange messages. Moved nonce, rangeStart, rangeSize to bridge contract 2019-10-18 13:38:42 +03:00
Kirill Fedoseev 2e67857eff Catching errors on info call to avoid promise rejection 2019-10-16 22:48:41 +03:00
Kirill Fedoseev dc668f452b Send tx using raw RPC method call for efficiency 2019-10-16 22:42:40 +03:00
Kirill Fedoseev 98b4679080 Custom private key support in binance send service 2019-10-16 22:30:32 +03:00
Kirill Fedoseev 9bcbdfab67 Support of multi send transaction generation 2019-10-14 23:40:55 +03:00
Kirill Fedoseev 9070333d46 Support of explicit private key in ethereum send service 2019-10-14 23:38:00 +03:00
Kirill Fedoseev 5413a3e7a1 Suppress redis logs, separate file with redis config 2019-10-11 17:39:50 +03:00
Kirill Fedoseev 336c557c51 Added discarding rabbitmq messages with blockNumber higher than the current one 2019-10-11 12:39:40 +03:00
Kirill Fedoseev f7dafbbf9c Suppress output in resetBlock 2019-10-11 12:37:46 +03:00
Kirill Fedoseev 52698a1865 Added reset block functionality 2019-10-11 11:50:41 +03:00
Kirill Fedoseev 4dbffb4d32 Fixed typos 2019-10-09 18:32:12 +03:00
Kirill Fedoseev 1793f6cf3b getAddresses test service for getting eth and bnc addresses by private key 2019-10-09 18:31:49 +03:00
Kirill Fedoseev fcfdce153c Added min/max limits for exchange transactions in bridge 2019-10-09 17:26:55 +03:00
Kirill Fedoseev d092475ee5 Made token transfers on eth side use approve&call method 2019-10-09 16:20:54 +03:00
Kirill Fedoseev cded4b2696 Moved some cryptographic operations in the shared codebase 2019-10-08 20:45:28 +03:00
Kirill Fedoseev 1f61aa65ba Moved amqp interaction in shared codebase 2019-10-08 19:06:10 +03:00
Kirill Fedoseev 0ea0fbe8c8 Fixed eth balance script to display correct tokens 2019-10-07 16:49:51 +03:00
Kirill Fedoseev aadd3418f9 Fixed initial foreign time 2019-10-07 16:49:20 +03:00
Kirill Fedoseev 6e36718f01 Nice logging support in all services 2019-10-06 13:36:29 +03:00
Kirill Fedoseev 869adea706 Made nice logging, instead of console.log 2019-10-06 13:35:46 +03:00
Kirill Fedoseev 2aa1fea0c8 Moved db.js to shared code dir 2019-10-06 11:55:00 +03:00
Kirill Fedoseev b65785b320 Changed docker services context directory to outer one 2019-10-06 11:52:28 +03:00
Kirill Fedoseev 7ceb9a54fc Disable rabbitmq logs 2019-10-06 11:16:32 +03:00
Kirill Fedoseev 64c84740ed Removed unused redis password 2019-10-06 11:14:33 +03:00
Kirill Fedoseev a4adcd4fa7 Fixed votes cound boundary 2019-10-05 18:01:30 +03:00
Kirill Fedoseev 8f8471bdf0 Some vote stats in /info 2019-10-05 17:49:03 +03:00
Kirill Fedoseev 8497af3b14 Refactor Bridge contract 2019-10-05 17:09:47 +03:00
Kirill Fedoseev fa25ebaa9a Fixed adding / removing validator process, signature generation on validators update 2019-10-02 21:44:52 +03:00
Kirill Fedoseev ba9ac9428c Fixed validator list update operation, fixed deployment volumes mounts 2019-10-02 20:28:22 +03:00
Kirill Fedoseev 5f380fb9b8 Updated proxy to support new votes processes 2019-10-02 18:50:46 +03:00
Kirill Fedoseev f34b372ea7 Reworked contract a bit. Now separate state for voting exists. 2019-10-02 18:27:14 +03:00
Kirill Fedoseev e521205d0f Auto determine block gas limit, small modification for supporting public networks 2019-09-06 19:22:04 +03:00
Kirill Fedoseev 87590524d9 Fixed configuration problems 2019-09-04 17:23:14 +03:00
Kirill Fedoseev d4f4591616 Test services update. New script for side prefund 2019-09-04 13:33:45 +03:00
Kirill Fedoseev 9cdadc27b2 docker-compose config update for different network support. Oracle update to support auto getting chainId, starting from custom block 2019-09-04 13:33:04 +03:00
Kirill Fedoseev 61e4067467 Changes in deploy configs 2019-09-04 13:30:26 +03:00
Kirill Fedoseev 310e3a3699 New .env and .keys configs, split on development and staging configs 2019-09-04 13:28:45 +03:00
Kirill Fedoseev 020170de7c Support running validator in staging environment 2019-09-01 13:03:38 +03:00
Kirill Fedoseev ed25ca9c68 Deployment to both, dev and staging environments. Automatic contract address update in demo. Refactor sh scripts. .env files splitted on particular enviornments 2019-09-01 12:41:06 +03:00
Kirill Fedoseev c3a495e1ea Added possibility of deployment to the public environment 2019-09-01 10:50:26 +03:00
Kirill Fedoseev f27f273d0a Fixed deployment dockerfiles. Support any network id in truffle-config 2019-09-01 10:47:04 +03:00
Kirill Fedoseev bacfdf8ea3 Hide eth private keys in .keys file 2019-09-01 10:45:39 +03:00
Kirill Fedoseev 12ff763be7 Fixed contract addresses in .env files 2019-08-30 17:59:16 +03:00
Kirill Fedoseev b7f15c46ee
Merge pull request #18 from k1rill-fedoseev/deployment-fix
Fixed problem with redeployment, mounting built contracts in deploy c…
2019-08-25 16:15:06 +03:00
Kirill Fedoseev 4c45436588 Refactor encode to use generators 2019-08-25 16:01:39 +03:00
Kirill Fedoseev 3b87fb2360 Implemented encoding/decoding for sign clients 2019-08-25 13:38:49 +03:00
Kirill Fedoseev a35cfc8a48 Fixed problem with redeployment, mounting built contracts in deploy containers was the problem. Deleted Migrations contracts from repo. 2019-08-25 10:29:58 +03:00
Kirill Fedoseev c9bc6d2bef Added sign encoding/decoding stubs 2019-08-25 10:16:57 +03:00
Kirill Fedoseev fc03632e20 Added encoding and decoding technique for keygen protocol, using packed bytes instead of raw JSON 2019-08-25 00:26:16 +03:00
Alexander Kolotov 5def216855 correct convertation to ERC20 tokens 2019-08-23 16:48:26 +03:00
Alexander Kolotov 5838fae64e amount of tokens is a float 2019-08-23 16:10:27 +03:00
Alexander Kolotov 3f76231978 added ability to send native coins 2019-08-23 12:30:00 +03:00
Alexander Kolotov 1d9939cef5 specify sender rather than bridge contracts, proper sending of erc20 tokens 2019-08-23 00:22:32 +03:00
Alexander Kolotov 16ebb69b33 convert properly large numbers 2019-08-23 00:20:16 +03:00
Alexander Kolotov 7d0243b2ba decimal shift for correct conversion ERC20 token to BEP2 token 2019-08-22 13:00:35 +03:00
Alexander Kolotov 8953574921 get initial amount of tokens to mint from a new environment variable 2019-08-22 08:24:08 +03:00
Kirill Fedoseev b2f63b1778 Updated .env 2019-07-17 18:33:45 +07:00
Kirill Fedoseev e990f4dec3 Updated README.md. Moved tools to docker containers 2019-07-17 18:30:52 +07:00
Kirill Fedoseev 38dee19559 Moved test environment and deployment process to docker 2019-07-17 14:31:38 +07:00
Kirill Fedoseev 1ab220caf4 Same private keys in both networks. Implementation modifications 2019-07-15 22:41:02 +03:00
Kirill Fedoseev 360a593ccf Scripts for sending tokens. Improved README.md 2019-07-10 20:58:30 +03:00
Kirill Fedoseev 3363043c9f Removed unused files 2019-07-09 12:20:18 +03:00
Kirill Fedoseev b1e7328495 Moved README.md 2019-07-09 12:17:36 +03:00
Kirill Fedoseev ac13be46a0 Fixed starting new epoch 2019-07-09 12:00:28 +03:00
Kirill Fedoseev 8a528e631c Demo of ETH-to-BNC bridge 2019-07-07 22:58:35 +03:00
Kirill Fedoseev 8b50b4dced IMplemented one side bridge, eth => bnc 2019-07-04 12:32:01 +03:00
Kirill Fedoseev 7defc1e814 Simple blockchain rpc proxy implementation instead of centralized server 2019-06-20 16:42:01 +07:00