-
Notifications
You must be signed in to change notification settings - Fork 13
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
createActivityPoller with v4 endpoint does not save the privateKey in Turnkey #159
Comments
hi @flux0uz, we have a docs page for getting started with sub orgs. Hopefully this will clear up some confusion. https://docs.turnkey.com/getting-started/sub-organizations#before-you-start. |
Hi @flux0uz 👋 just adding here -- when you say
|
Hey @andrewkmin, Yes, I saw those changes too and modified them accordingly. But what's weird is that I don't see a privateKey Id on the sub-organization that was created in my turnkey admin, whereas before the update I did. Here's the code:
|
you're on the cutting edge! we'll be shipping an update to our dashboard shortly that will show your wallets. you'll want to use the generated address to sign as there's no private key ID for a wallet.
|
Ah, I see, thanks @timurnkey. |
Bingo! Wallets provide several advantages over Private Keys:
The signing interface is compatible both with Wallets and Private Keys.
|
Creating a new sub-organization as Custodial Wallet with
ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4
returns a new wallet address, a new wallet identifier (walletId
) and a new sub-organization identifier (subOrganizationId
), but these are not saved on the new sub-organization in Turnkey.Attempt to execute a transaction, then fail with error
TurnkeyRequestError: Turnkey error 5: cannot find private key (Details: [])
.The text was updated successfully, but these errors were encountered: