worldwide-asset-exchange / waxjs

Javascript API for integration with the WAX Cloud Wallet.
MIT License
127 stars 103 forks source link

Signing transactions with only existing user keys for broadcast: false #99

Open SenSkysh opened 2 years ago

SenSkysh commented 2 years ago

I have a transaction that requires permission from two users. How to use wax js to sign it with the keys that the user has? Anchor does this, and wax js returns an error: Error: transaction declares authority '{"actor":"userTwo","permission":"active"}', but does not have signatures for it.

includenull commented 2 years ago

You can try initiating waxjs with freeBandwidth: false. I think its the CPU estimation for the boost system causing this.

The other option is to sign with the other wallet first if its not WCW.