Closed damian-jazz closed 1 year ago
I found a public repository with a react-project that allows you to connect to Metamask. I tested it successfully.
For now my understaning is the following. Whenever you need to do some signing action the user is asked to authorize that action via metamask. In our case this amounts to:
The ethProvider variable/object in the code snippet below is linked to metamask.
What are the next steps? Import iExec into the react-project and test some methods from the SDK involving signing. Integrate the whole thing into Angular.
@Ouassim31 what is your impression here? @LiasFae do you think that we can intergrate iExec into the frontend without too much effort?
I have the following goal:
Build a minimal frontend project for testing purposes with React or Angular (currently trying out Angular as it is our default but this turns out to be difficult, not optimistic that react will be easier) that imports the iexec sdk and can connect to the metamask browser plugin to load a signer object. The signer object is necessary for all iexec methods that require a signature (i.e. requestApporder).
I would like to make the following procedure work in order to achieve my goal:
@LiasFae would it be possible to get some assistance from you for point 1. & 2. Here are some related links: