trustlines-protocol / clientlib

Typescript/Javascript library of the trustlines network protocol
MIT License
10 stars 7 forks source link

Add function in identity wallet to update identity implementation #390

Closed cducrest closed 4 years ago

cducrest commented 4 years ago

Is it enough for the mobile app to have a function in the identity wallet to do this, or does it need a function in something like User or TLNetwork?

How do we want the user to know whether he should update or not (whether he already has the same implementation address on the contract on chain and in the identityWallet of the clientlib)? We can either make a relay endpoint to ask for the value of identityImplementation for the identity proxy, or we can save the last used value of identity implementation somehow in the app.

closes https://github.com/trustlines-network/project/issues/884

cducrest commented 4 years ago

Merged in https://github.com/trustlines-protocol/clientlib/pull/391