NearSocial / VM

Near Social VM
The Unlicense
36 stars 58 forks source link

feat: add Near.signAndSendTransactions #159

Open AZbang opened 9 months ago

AZbang commented 9 months ago

Added Near.signAndSendTransactions for support all types actions. The method is fully compatible with the wallet-selector format. For example:

Near.signAndSendTransactions([{
    receiverId: "azbang.near",
    actions: [{ type: "AddKey", params: {  ... } }]
}])

Also added UI for confirmation modal. You can test it on my gateway: https://call-any-actions-near-social.surge.sh/#/azbang.near/widget/ExportAccount

frol commented 7 months ago

@AZbang This is great! Would you be able to push this PR through the finish line?