-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 2.0.0 FastAuthWallet version to BOS VM and NearDiscovery #249
Comments
hey @Pessina can you help clarify what are the end goals as it relates to near-discovery and the relayer used by the vm? |
Hey @charleslavon , The previous version of the wallet was only able to sign DelegateAction and send them through the relayer. What imposed some limitations, like: only being able to call contracts and actions whitelisted/allowed by the relayer. With this new version, the dApp have the option to choose if it wants to request a DelegateAction signature (gas paid by the relayer) or a Transaction signature (gas paid by the user). For more details I pinged @esaminu, I think he knows more about the ecosystem and can explain it better than me. |
Hi @charleslavon to add to @Pessina 's explanation the end goal is to integrate the new
We need to add similar methods or add additional arguments to these methods so that component developers can be more explicit and opt to send these transactions as meta transactions covered by the relayer and secondly we need to update the actions that intend to use the relayer in near-discovery-components e.g. the TOS component and DevHub components. Since BOS components support many wallets they will likely need to check if the wallet their user selected supports meta transactions before calling the new methods. |
Just to understand. So people like me who created a wallet using email address at near.org still cannot withdraw funds right? how to create a ticket for help in this regard? thanks in advance |
hey @geltonastech this issue is a requisite to support allowing fast-auth accounts successfully sign arbitrary transactions like sending funds. This is being prioritized for attention. Keep an eye on this issue for progress updates. Thanks. |
@charleslavon for local development you have to provide the In order to provide the
Then you provide to Let me know if you face any issues, if it's better you can ping me on slack |
@charleslavon I'm sorry, I think I wasn't clear about the In case the url setup on the main branch it's not working, then I provide a local |
@geltonastech See the instructions here |
Lots of thanks charles ! I just solved the issue. thanks again you all for your time )) |
Hey @esaminu, thanks for being willing to help me debug the relayer issues I mentioned in Slack. Getting everything running is going to be a bit of a chore because the changes need to be made in the VM layer, but here are the steps to follow in order:
Here's a quick Loom going over what I'm seeing: https://www.loom.com/share/c3a4e67b6c254fa298b9cbd76f5c55e6 |
@esaminu I forgot to mention where my relevant code changes are in my VM fork. Here's a screenshot ( |
Hey @charleslavon, I've opened a PR to merge into the official VM repo here: NearSocial/VM#200 |
The current FastAuthWallet and FastAuthSigner support only signing delegate actions. This PR introduces new methods to enable FastAuthWallet and FastAuthSigner to sign and send transactions without using a relayer.
PR link: #26
New Methods:
signAndSendSignedDelegate
signAndSendTransaction
The interface of these new methods is consistent with the existing
signAndSendTransaction
.Important Notes:
The text was updated successfully, but these errors were encountered: