near-wallet icon indicating copy to clipboard operation
near-wallet copied to clipboard

HAPI integration

Open Solniechniy opened this issue 2 years ago • 3 comments

Problem

There is a problem with managing addresses that are under regulations during sanctions, scams, and so on.

What are we planning to do about it?

Integrate the HAPI protocol into the near wallet, which allows checking the address before sending the funds and displaying the information about it.

Job Story(s)

  • User wants to send funds to another address. While entering the address of the receiver wallet sends get requests to HAPI protocol in order to check any information about this address. If there is any - show it with the red alert or input border.

Scope

  • [x] Create hapi service which will give the information about address in module/services
  • [x] Create the design proposal which will display the information about the checked address from HAPI protocol smartcontract
  • [x] Expanding the wallet functionality according to created design proposal

Solniechniy avatar May 08 '22 19:05 Solniechniy

@PinkiNice can you have your team review this and see if this is something you want to consider? I also recommend getting security to review.

agileurbanite avatar Jun 22 '22 16:06 agileurbanite

Implemented in #2840

PinkiNice avatar Jul 26 '22 11:07 PinkiNice

Wait did security review this service? @PinkiNice

agileurbanite avatar Jul 27 '22 16:07 agileurbanite