Commit graph

34 commits

Author SHA1 Message Date
silverpill 4ffec71c24 Send notification when subscription payment is received 2022-05-28 19:00:24 +00:00
silverpill c2c3ff1544 Verify chain ID on start 2022-05-28 00:04:21 +00:00
silverpill 50699b5ab5 Don't use update_post() to set ipfs_cid, token_id and token_tx_id fields 2022-05-10 22:18:43 +00:00
silverpill b7849c8264 Check TX ID when saving token ID to database 2022-05-10 22:12:54 +00:00
silverpill 75a4dec009 Update siwe-rs package to version 0.3.0 2022-05-09 19:58:42 +00:00
silverpill ff5f707cba Prioritize verified results when searching for profile by subscription address 2022-04-27 22:57:49 +00:00
silverpill 303827ffc6 Include results based on identity proofs when searching profiles by wallet address 2022-04-27 22:19:50 +00:00
silverpill a1af35997c Use currency enum instead of WALLET_CURRENCY_CODE constant 2022-04-27 22:19:14 +00:00
silverpill fd6b71073a Add IdentityProof type 2022-04-26 19:56:32 +00:00
silverpill e697461e70 Add function that performs address ownership verification 2022-04-26 19:32:08 +00:00
silverpill fc60bb78f2 Implement ToString and FromStr traits for SignatureData 2022-04-26 19:32:02 +00:00
silverpill bffe3bbe7d Don't hash initial message when making EIP-191 signature 2022-04-22 21:27:53 +00:00
silverpill 536c7ecb21 Bump web3 to 0.18.0 2022-04-20 17:30:30 +00:00
silverpill ffdda2ac51 Add recover_address() function
It can be used to recover ethereum address from signature.
2022-04-19 22:59:09 +00:00
silverpill 0d6807e5a2 Move address_to_string to ethereum::utils module 2022-04-16 22:32:50 +00:00
silverpill e8a29a3af1 Implement EIP-4361 authentication 2022-02-14 23:16:00 +00:00
silverpill 71fc2d9dad Save subscription state to database when processing blockchain event 2022-02-06 12:05:14 +00:00
silverpill a095ea7061 Add periodic task that monitors subscription events 2022-02-05 23:52:56 +00:00
silverpill 4e0f14df4c Add API method for getting authorization of paid subscription setup transaction 2022-02-05 23:51:12 +00:00
silverpill dfc9902092 Move get_nft_contract function to ethereum::contracts module
Preparing for more contracts.
2022-01-30 17:47:07 +00:00
silverpill fd0c7edb59 Retrieve event ABI from Contract instance in process_events() 2022-01-28 00:42:36 +00:00
silverpill a3f20149cf Remove actual ethereum contracts and use interfaces instead 2022-01-28 00:42:36 +00:00
silverpill 237185bb14 Move functions for creating ethereum signatures to ethereum::signatures module 2022-01-28 00:42:36 +00:00
silverpill f2fb44bb63 Change configuration options related to blockchain integration 2022-01-28 00:41:23 +00:00
silverpill 21499b5fc3 Refactor process_note() function 2021-12-06 01:25:59 +00:00
silverpill d33899f56e Use token_tx_id field to find posts awaiting tokenization 2021-12-03 19:07:36 +00:00
silverpill c473070fd4 Configure linter and fix its warnings 2021-11-13 17:37:31 +00:00
silverpill 9a0a11e33f Don't write error message to log if ethereum integration is disabled 2021-11-06 12:48:52 +00:00
silverpill 514c7ae237 Refactor config, make ethereum integration optional 2021-11-05 23:47:36 +00:00
silverpill d98e86a93e Move common code from ethereum::nft to separate modules 2021-10-21 18:18:29 +00:00
silverpill 324ff20480 Call manager contract to verify that user is allowed to sign up 2021-10-21 18:18:18 +00:00
silverpill a9fb874cb3 Update contracts 2021-10-21 11:57:40 +00:00
silverpill 90aac4d162 Stop waiting for token after 10 minutes 2021-09-29 01:03:47 +00:00
silverpill fdef4b6e6a Initial commit 2021-09-14 12:24:05 +00:00