Deploying an Identity (without a grant) will require the address to be funded first. The relayer would check if the funds are sent before it will accept the deploy request.
This is why we should employ the following mechanism:
the user chooses to sign up, at which point we generate the IdentityProxy code and the salt; and calculate identityAddr; we save those in localStorage
the UI behaves as if this contract is already deployed
when the user wishes to open a campaign (advertiser) or to create an ad slot (publisher), we prompt them to finish the Identity creation by sending funds (NOTE: is there an easier way, if they're a publisher?)
once the funds are sent to the addr, we send a request to the relayer to deploy, followed by a request to open the campaign
Deploying an Identity (without a grant) will require the address to be funded first. The relayer would check if the funds are sent before it will accept the deploy request.
This is why we should employ the following mechanism:
identityAddr
; we save those inlocalStorage