-
Notifications
You must be signed in to change notification settings - Fork 5
Solana Gasless docs tweak #315
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
base: main
Are you sure you want to change the base?
Conversation
@@ -19,10 +19,12 @@ Visit [the ZeroDev documentation](https://docs.zerodev.app/sdk/signers/turnkey) | |||
|
|||
Create a Biconomy Smart Account and add a Turnkey signer to manage your private key and authentication methods by using Turnkey's API. | |||
|
|||
For detailed code snippets and an integration guide, refer to the [Biconomy documentation](https://docs.biconomy.io/account/signers/turnkey). | |||
For detailed code snippets and an integration guide, refer to the [Biconomy documentation](https://docs.biconomy.io/tutorials/signers/turnkey/). | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we pick one or the other? or maybe tweak the organization a little bit?
Create a Biconomy Smart Account and add a Turnkey signer to manage your private key and authentication methods by using Turnkey's API.
Ethereum's latest EIP-7702 standard gives superpowers to Externally Owned Accounts (EOAs). Biconomy has a guide on how to leverage gas abstracted transactions with Turnkey and Biconomy, enabling Turnkey EOAs to become smart accounts through delegation to Nexus. The tutorial showcases gas abstracted batch execution - users can pay gas fees with ERC20 tokens from their EOA. Refer to [Biconomy documentation](https://docs.biconomy.io/smarteoa/demos/turnkey-7702-gasless/) to get started.
For a more generalized integration guide, refer to the [Biconomy <> Turnkey tutorial](https://docs.biconomy.io/tutorials/signers/turnkey/).
|
||
```javascript | ||
eth.tx.to == '<TOKEN_CONTRACT>' && | ||
eth.tx.data[0..4] == '<ERC20_FUNCTION_SELECTOR>' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will actually have to be [0..10]
<Accordion title="After a limit order is filled, how can I remove/null a policy programmatically?"> | ||
As long as the DA user remains authorized, they can remove policies programmatically. If they’ve been removed from the quorum, policy deletion will require the user’s explicit approval. | ||
|
||
**<u>NOTE:</u>** Turnkey is looking to support the concept of 'one-time-use policies' to make it easier to manage redundany policies. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tiny nit: redundany --> redundant
|
||
## Implementation flow | ||
- Automate common transactions (e.g., staking, redemptions) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just curious, did you manually make any of these formatting changes? guessing it's just the result of modifying some files via Mintlify UI (no big deal either way!)
### EVM and SVM-Specific Strategies | ||
|
||
<Accordion title="Are time-bound transactions supported?"> | ||
Yes, on Solana via `solana.tx.recent_blockhash`, which restricts a transaction’s validity to a ~60–90 second window. Not ideal for delayed executions (e.g. limit orders), but useful for immediate, single-use actions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we link to a resource to learn more? something like https://solana.com/developers/guides/advanced/confirmation#transaction-confirmation-tips
Updated the text to accurately reflect the package name to @turnkey/solana (previously @turnkey/with-solana)