Commit Graph

26 Commits

Author SHA1 Message Date
Oskar Thoren 37b3fc3fbb
Debug contract 2021-02-05 19:14:06 +08:00
Oskar Thoren f2d957affc
Finally get signature verification to match 2021-02-05 18:59:28 +08:00
Oskar Thoren 7fcc4e99ec
scratch, add alt way to recover signer key
mnemonic + path
2021-02-05 13:14:39 +08:00
Oskar Thoren d6b20efce6
Play around with sign-script and Wallet as signer 2021-02-05 12:34:18 +08:00
Oskar Thoren 2f9c826cdb
Fix typos in setup-swap script 2021-02-03 13:04:11 +08:00
Oskar Thoren c09353f1de
redeem-cheque WIP
Reproducing invalid signature error
2021-02-03 12:34:45 +08:00
Oskar Thoren b04dce09a4
scratch.js update 2021-02-03 12:34:30 +08:00
Oskar Thoren 989e70ef6d
Add sign cheque script 2021-02-03 12:21:03 +08:00
Oskar Thoren 9b6ef97fea
Add back ethers-eip712 library 2021-02-03 12:20:45 +08:00
Oskar Thoren a9d85bc589
Add funds to Alice Swap address 2021-02-03 11:53:40 +08:00
Oskar Thoren 1291a7c30f
Mint ERC20 in setup swan; format 2021-02-02 13:07:16 +08:00
Oskar Thoren 8df74028e8
Add scratch.js file for REPL stuff 2021-02-02 12:59:09 +08:00
Oskar Thoren c2a21931cd
Update README 2021-02-02 12:58:58 +08:00
Oskar Thoren 53a029c4f1
Add README with basic howto; persistent node 2021-02-02 12:34:43 +08:00
Oskar Thoren 711c7a7884
Deploy Bob Swap and print addresses; refactor 2021-02-02 12:26:10 +08:00
Oskar Thoren 4d9e7e8660
Deploy swap and parse event logs to get address 2021-02-01 12:32:01 +08:00
Oskar Thoren 6432c647a3
Deploy SimpleSwapFactory 2021-01-29 13:27:31 +08:00
Oskar Thoren d9a9a67277
Deploy ERC20 2021-01-29 13:26:28 +08:00
Oskar Thoren 102aa7f7f9
Import Migration.sol contract and bump solidity
This gives access to ERC20PresetMinterPauser ABI, etc
2021-01-29 12:56:36 +08:00
Oskar Thoren de4589c0b6
Upgrade Swap contracts to Solidity 0.7
now -> block.timestamp
2021-01-28 19:23:11 +08:00
Oskar Thoren 364f67971c
Import Swap contracts 2021-01-28 19:22:59 +08:00
Oskar Thoren 9901adacf9
Add @openzeppelin/contracts dependency 2021-01-28 19:12:36 +08:00
Oskar Thoren 42c2448e59
EIP712 signing script 2021-01-28 12:47:05 +08:00
Oskar Thoren 74f76d0895
Revert "Add eth-sig-util dep"
This reverts commit be956f021a.
2021-01-28 12:46:45 +08:00
Oskar Thoren be956f021a
Add eth-sig-util dep 2021-01-28 11:57:05 +08:00
Oskar Thoren 177b6bccba
Init sample hardhat project 2021-01-28 11:27:27 +08:00