@charterlabs/rhinestone-sdk 0.1.13 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/README.md +181 -74
  2. package/dist/src/accounts/index.d.ts +8 -7
  3. package/dist/src/accounts/index.d.ts.map +1 -1
  4. package/dist/src/accounts/index.js +65 -210
  5. package/dist/src/accounts/index.test.js +2 -3
  6. package/dist/src/accounts/kernel.d.ts +3 -2
  7. package/dist/src/accounts/kernel.d.ts.map +1 -1
  8. package/dist/src/accounts/kernel.js +3 -5
  9. package/dist/src/accounts/kernel.test.js +5 -12
  10. package/dist/src/accounts/nexus.d.ts +2 -2
  11. package/dist/src/accounts/nexus.d.ts.map +1 -1
  12. package/dist/src/accounts/nexus.js +17 -17
  13. package/dist/src/accounts/nexus.test.js +11 -14
  14. package/dist/src/accounts/safe.d.ts +2 -2
  15. package/dist/src/accounts/safe.d.ts.map +1 -1
  16. package/dist/src/accounts/safe.js +3 -5
  17. package/dist/src/accounts/safe.test.js +4 -7
  18. package/dist/src/accounts/signing/common.d.ts +23 -0
  19. package/dist/src/accounts/signing/common.d.ts.map +1 -0
  20. package/dist/src/accounts/signing/common.js +113 -0
  21. package/dist/src/accounts/signing/message.d.ts +5 -0
  22. package/dist/src/accounts/signing/message.d.ts.map +1 -0
  23. package/dist/src/accounts/signing/message.js +51 -0
  24. package/dist/src/accounts/signing/typedData.d.ts +5 -0
  25. package/dist/src/accounts/signing/typedData.d.ts.map +1 -0
  26. package/dist/src/accounts/signing/typedData.js +39 -0
  27. package/dist/src/accounts/startale.d.ts +2 -2
  28. package/dist/src/accounts/startale.d.ts.map +1 -1
  29. package/dist/src/accounts/startale.js +3 -3
  30. package/dist/src/accounts/startale.test.js +4 -7
  31. package/dist/src/actions/index.d.ts +84 -0
  32. package/dist/src/actions/index.d.ts.map +1 -1
  33. package/dist/src/actions/index.js +92 -0
  34. package/dist/src/actions/index.test.js +15 -15
  35. package/dist/src/actions/smart-session.d.ts +6 -0
  36. package/dist/src/actions/smart-session.d.ts.map +1 -1
  37. package/dist/src/actions/smart-session.js +6 -0
  38. package/dist/src/execution/compact.d.ts +128 -1
  39. package/dist/src/execution/compact.d.ts.map +1 -1
  40. package/dist/src/execution/compact.js +91 -0
  41. package/dist/src/execution/index.d.ts.map +1 -1
  42. package/dist/src/execution/index.js +2 -3
  43. package/dist/src/execution/utils.d.ts +6 -5
  44. package/dist/src/execution/utils.d.ts.map +1 -1
  45. package/dist/src/execution/utils.js +37 -17
  46. package/dist/src/index.d.ts +9 -7
  47. package/dist/src/index.d.ts.map +1 -1
  48. package/dist/src/index.js +92 -31
  49. package/dist/src/modules/index.d.ts +3 -8
  50. package/dist/src/modules/index.d.ts.map +1 -1
  51. package/dist/src/modules/index.js +26 -27
  52. package/dist/src/modules/index.test.js +1 -4
  53. package/dist/src/modules/validators/core.d.ts.map +1 -1
  54. package/dist/src/modules/validators/core.js +19 -14
  55. package/dist/src/modules/validators/core.test.js +4 -11
  56. package/dist/src/modules/validators/index.d.ts +1 -2
  57. package/dist/src/modules/validators/index.d.ts.map +1 -1
  58. package/dist/src/modules/validators/index.js +1 -13
  59. package/dist/src/modules/validators/smart-sessions.js +3 -3
  60. package/dist/src/modules/validators/smart-sessions.test.js +4 -4
  61. package/dist/src/orchestrator/index.d.ts +1 -2
  62. package/dist/src/orchestrator/index.d.ts.map +1 -1
  63. package/dist/src/orchestrator/index.js +1 -3
  64. package/dist/src/orchestrator/utils.d.ts +1 -3
  65. package/dist/src/orchestrator/utils.d.ts.map +1 -1
  66. package/dist/src/orchestrator/utils.js +0 -102
  67. package/dist/src/types.d.ts +2 -5
  68. package/dist/src/types.d.ts.map +1 -1
  69. package/package.json +2 -2
package/README.md CHANGED
@@ -1,107 +1,214 @@
1
- # @charterlabs/rhinestone-sdk
1
+ # Rhinestone SDK
2
2
 
3
- A production-ready fork of the Rhinestone SDK with enhanced WebAuthn support for Charter Labs.
3
+ End-to-end chain abstraction and modularity toolkit
4
4
 
5
- ## 🚀 Enhanced Features
5
+ ## Usage
6
6
 
7
- ### Superior WebAuthn Implementation
8
- - **Multi-credential support** - Register multiple WebAuthn devices per account
9
- - **Threshold signatures** - M-of-N security model for enterprise use
10
- - **User verification control** - Configurable UV requirements per credential
11
- - **WebAuthn standard compliance** - Proper credential ID handling
12
- - **Production-ready** - Handles real-world multi-device scenarios
7
+ ### Installation
13
8
 
14
- ### Key Improvements Over Upstream
15
- - **Multi-device support** vs single credential limitation
16
- - ✅ **WebAuthn standard compliance** vs non-standard hashing
17
- - ✅ **Security flexibility** vs fixed UV policies
18
- - ✅ **Enterprise features** vs demo/MVP approach
9
+ ```bash
10
+ npm install viem @rhinestone/sdk
11
+ ```
19
12
 
20
- ## Installation
13
+ ```bash
14
+ pnpm install viem @rhinestone/sdk
15
+ ```
21
16
 
22
17
  ```bash
23
- npm install @charterlabs/rhinestone-sdk viem
24
- # or
25
- bun add @charterlabs/rhinestone-sdk viem
18
+ yarn add viem @rhinestone/sdk
26
19
  ```
27
20
 
28
- ## Quick Start
21
+ ```bash
22
+ bun install viem @rhinestone/sdk
23
+ ```
24
+
25
+ ## Quickstart
26
+
27
+ You'll need a Rhinestone API key, as well as an existing account with some testnet ETH on the source chain.
28
+
29
+ ### Creating a Wallet
29
30
 
30
- ```typescript
31
- import { createRhinestoneAccount } from '@charterlabs/rhinestone-sdk'
31
+ Let's create a smart account with a single owner:
32
+
33
+ ```ts
34
+ import { createRhinestoneAccount } from '@rhinestone/sdk'
32
35
  import { generatePrivateKey, privateKeyToAccount } from 'viem/accounts'
36
+ import { baseSepolia, arbitrumSepolia, optimismSepolia } from 'viem/chains'
37
+ import {
38
+ Chain,
39
+ createPublicClient,
40
+ createWalletClient,
41
+ encodeFunctionData,
42
+ erc20Abi,
43
+ Hex,
44
+ http,
45
+ parseEther,
46
+ } from 'viem'
47
+
48
+ const fundingPrivateKey = process.env.FUNDING_PRIVATE_KEY
49
+ if (!fundingPrivateKey) {
50
+ throw new Error('FUNDING_PRIVATE_KEY is not set')
51
+ }
52
+
53
+ const rhinestoneApiKey = process.env.RHINESTONE_API_KEY
54
+ if (!rhinestoneApiKey) {
55
+ throw new Error('RHINESTONE_API_KEY is not set')
56
+ }
57
+
58
+ const sourceChain = baseSepolia
59
+ const targetChain = arbitrumSepolia
60
+
61
+ // You can use an existing PK here
62
+ const privateKey = generatePrivateKey()
63
+ console.info(`Owner private key: ${privateKey}`)
64
+ const account = privateKeyToAccount(privateKey)
33
65
 
34
- // Create account with WebAuthn support
35
66
  const rhinestoneAccount = await createRhinestoneAccount({
36
67
  owners: {
37
- type: 'passkey',
38
- account: webAuthnAccount, // Your WebAuthn account
39
- credentialIds: ['0x...', '0x...'] // Multiple credential IDs
40
- },
41
- rhinestoneApiKey: 'your-api-key'
68
+ type: 'ecdsa',
69
+ accounts: [account],
70
+ }
71
+ rhinestoneApiKey,
42
72
  })
73
+ const address = await rhinestoneAccount.getAddress()
74
+ console.info(`Smart account address: ${address}`)
43
75
  ```
44
76
 
45
- ## WebAuthn Features
77
+ ### Funding the Account
78
+
79
+ We will send some ETH from the funding account to the created smart account. The Orchestrator will use some of that ETH to deploy the account on the target chain, as well as to convert it to USDC for a transfer transaction.
80
+
81
+ ```ts
82
+ const publicClient = createPublicClient({
83
+ chain: sourceChain,
84
+ transport: http(),
85
+ });
86
+ const fundingAccount = privateKeyToAccount(fundingPrivateKey as Hex);
87
+ const fundingClient = createWalletClient({
88
+ account: fundingAccount,
89
+ chain: sourceChain,
90
+ transport: http(),
91
+ });
92
+
93
+ const txHash = await fundingClient.sendTransaction({
94
+ to: address,
95
+ value: parseEther('0.001'),
96
+ });
97
+ await publicClient.waitForTransactionReceipt({ hash: txHash });
98
+ ```
46
99
 
47
- ### Multi-Credential Support
48
- ```typescript
49
- // Register multiple devices
50
- const config = {
51
- owners: {
52
- type: 'passkey',
53
- account: webAuthnAccount,
54
- credentialIds: [
55
- '0x1234...', // Phone
56
- '0x5678...', // Laptop
57
- '0x9abc...' // Security key
58
- ]
59
- }
60
- }
100
+ ### Sending a Cross-chain Transaction
101
+
102
+ Finally, let's make a cross-chain token transfer:
103
+
104
+ ```ts
105
+ const usdcTarget = '0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d';
106
+ const usdcAmount = 1n;
107
+
108
+ const transaction = await rhinestoneAccount.sendTransaction({
109
+ sourceChain,
110
+ targetChain,
111
+ calls: [
112
+ {
113
+ to: usdcTarget,
114
+ value: 0n,
115
+ data: encodeFunctionData({
116
+ abi: erc20Abi,
117
+ functionName: 'transfer',
118
+ args: ['0xd8da6bf26964af9d7eed9e03e53415d37aa96045', usdcAmount],
119
+ }),
120
+ },
121
+ ],
122
+ tokenRequests: [
123
+ {
124
+ address: usdcTarget,
125
+ amount: usdcAmount,
126
+ },
127
+ ],
128
+ });
129
+ console.info('Transaction', transaction);
130
+
131
+ const transactionResult = await rhinestoneAccount.waitForExecution(transaction);
132
+ console.info('Result', transactionResult);
61
133
  ```
62
134
 
63
- ### Threshold Signatures
64
- ```typescript
65
- // Require 2-of-3 signatures
66
- const config = {
135
+ After running that, you will get a smart account deployed on both Base Sepolia and Arbitrum Sepolia, and make a cross-chain USDC transfer.
136
+
137
+ ### Using Smart Sessions
138
+
139
+ First, define a session you want to use:
140
+
141
+ ```ts
142
+ const session: Session = {
67
143
  owners: {
68
- type: 'multi-factor',
69
- validators: [phoneValidator, laptopValidator, securityKeyValidator],
70
- threshold: 2
71
- }
144
+ type: 'ecdsa',
145
+ accounts: [sessionOwner],
146
+ },
147
+ actions: [
148
+ {
149
+ target: wethAddress,
150
+ selector: toFunctionSelector(
151
+ getAbiItem({
152
+ abi: wethAbi,
153
+ name: 'deposit',
154
+ }),
155
+ ),
156
+ },
157
+ {
158
+ target: wethAddress,
159
+ selector: toFunctionSelector(
160
+ getAbiItem({
161
+ abi: wethAbi,
162
+ name: 'transfer',
163
+ }),
164
+ ),
165
+ policies: [
166
+ {
167
+ type: 'universal-action',
168
+ rules: [
169
+ {
170
+ condition: 'equal',
171
+ calldataOffset: 0n,
172
+ referenceValue: '0xd8da6bf26964af9d7eed9e03e53415d37aa96045',
173
+ },
174
+ ],
175
+ },
176
+ ],
177
+ },
178
+ ],
72
179
  }
73
180
  ```
74
181
 
75
- ### User Verification Control
76
- ```typescript
77
- // Configure UV requirements per credential
78
- const validator = getWebAuthnValidator({
79
- pubKey: publicKey,
80
- authenticatorId: 'device-id',
81
- requireUV: true // Require user verification
182
+ During account initialization, provide the session you've just created. Make sure to also provide a bundler configuration.
183
+
184
+ ```ts
185
+ const rhinestoneAccount = await createRhinestoneAccount({
186
+ //
187
+ sessions: [session],
188
+ bundler: {
189
+ // …
190
+ },
82
191
  })
83
192
  ```
84
193
 
85
- ## Development
86
-
87
- ```bash
88
- # Install dependencies
89
- bun install
194
+ When making a transaction, specify the `signers` object to sign it with the session key:
90
195
 
91
- # Build
92
- bun run build
196
+ ```ts
197
+ const transactionResult = await rhinestoneAccount.sendTransaction({
198
+ // …
199
+ signers: {
200
+ type: 'session',
201
+ session: session,
202
+ },
203
+ })
204
+ ```
93
205
 
94
- # Test
95
- bun run test
206
+ ## Migrating from Orchestrator SDK
96
207
 
97
- # Create changeset
98
- bun run changeset
208
+ To migrate from the [Orchestrator SDK](https://github.com/rhinestonewtf/orchestrator-sdk), replace all imports of `@rhinestone/orchestrator-sdk` with `@rhinestone/sdk/orchestrator`.
99
209
 
100
- # Version and publish
101
- bun run changeset:version
102
- bun run changeset:release
103
- ```
210
+ Let us know if you encounter any issues!
104
211
 
105
- ## License
212
+ ## Contributing
106
213
 
107
- MIT - Charter Labs
214
+ For feature or change requests, feel free to open a PR, start a discussion or get in touch with us.
@@ -1,4 +1,4 @@
1
- import { type Account, type Address, type Chain, type Hex, type PublicClient } from 'viem';
1
+ import { type Chain, type HashTypedDataParameters, type Hex, type PublicClient, type TypedData } from 'viem';
2
2
  import type { Module } from '../modules/common';
3
3
  import type { EnableSessionData } from '../modules/validators/smart-sessions';
4
4
  import type { AccountProviderConfig, Call, OwnerSet, RhinestoneAccountConfig, Session, SignerSet } from '../types';
@@ -17,12 +17,13 @@ declare function getModuleInstallationCalls(config: RhinestoneAccountConfig, mod
17
17
  declare function getModuleUninstallationCalls(config: RhinestoneAccountConfig, module: Module): Call[];
18
18
  declare function getAddress(config: RhinestoneAccountConfig): `0x${string}`;
19
19
  declare function getPackedSignature(config: RhinestoneAccountConfig, signers: SignerSet | undefined, chain: Chain, validator: ValidatorConfig, hash: Hex, transformSignature?: (signature: Hex) => Hex): Promise<`0x${string}`>;
20
- declare function isDeployed(chain: Chain, config: RhinestoneAccountConfig): Promise<boolean>;
20
+ declare function getTypedDataPackedSignature<typedData extends TypedData | Record<string, unknown> = TypedData, primaryType extends keyof typedData | 'EIP712Domain' = keyof typedData>(config: RhinestoneAccountConfig, signers: SignerSet | undefined, chain: Chain, validator: ValidatorConfig, parameters: HashTypedDataParameters<typedData, primaryType>, transformSignature?: (signature: Hex) => Hex): Promise<`0x${string}`>;
21
+ declare function isDeployed(config: RhinestoneAccountConfig, chain: Chain): Promise<boolean>;
21
22
  declare function deploy(config: RhinestoneAccountConfig, chain: Chain, session?: Session): Promise<void>;
22
- declare function deployStandaloneWithEoa(chain: Chain, config: RhinestoneAccountConfig, deployer: Account): Promise<Address>;
23
- declare function getSmartAccount(config: RhinestoneAccountConfig, client: PublicClient, chain: Chain): Promise<import("viem/account-abstraction").SmartAccount<import("viem/account-abstraction").SmartAccountImplementation<import("viem").Abi, "0.7">>>;
24
- declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, client: PublicClient, chain: Chain, session: Session, enableData: EnableSessionData | null): Promise<import("viem/account-abstraction").SmartAccount<import("viem/account-abstraction").SmartAccountImplementation<import("viem").Abi, "0.7">>>;
25
- declare function getGuardianSmartAccount(config: RhinestoneAccountConfig, client: PublicClient, chain: Chain, guardians: OwnerSet): Promise<import("viem/account-abstraction").SmartAccount<import("viem/account-abstraction").SmartAccountImplementation<import("viem").Abi, "0.7">>>;
23
+ declare function toErc6492Signature(config: RhinestoneAccountConfig, signature: Hex, chain: Chain): Promise<Hex>;
24
+ declare function getSmartAccount(config: RhinestoneAccountConfig, client: PublicClient, chain: Chain): Promise<import("viem/_types/account-abstraction").SmartAccount<import("viem/_types/account-abstraction").SmartAccountImplementation<import("viem").Abi, "0.7">>>;
25
+ declare function getSmartSessionSmartAccount(config: RhinestoneAccountConfig, client: PublicClient, chain: Chain, session: Session, enableData: EnableSessionData | null): Promise<import("viem/_types/account-abstraction").SmartAccount<import("viem/_types/account-abstraction").SmartAccountImplementation<import("viem").Abi, "0.7">>>;
26
+ declare function getGuardianSmartAccount(config: RhinestoneAccountConfig, client: PublicClient, chain: Chain, guardians: OwnerSet): Promise<import("viem/_types/account-abstraction").SmartAccount<import("viem/_types/account-abstraction").SmartAccountImplementation<import("viem").Abi, "0.7">>>;
26
27
  declare function getAccountProvider(config: RhinestoneAccountConfig): AccountProviderConfig;
27
- export { getModuleInstallationCalls, getModuleUninstallationCalls, getAddress, getAccountProvider, getInitCode, signEip7702InitData, getEip7702InitCall, isDeployed, deploy, getSmartAccount, getSmartSessionSmartAccount, getGuardianSmartAccount, getPackedSignature, deployStandaloneWithEoa, isAccountError, AccountError, Eip7702AccountMustHaveEoaError, ExistingEip7702AccountsNotSupportedError, FactoryArgsNotAvailableError, SmartSessionsNotEnabledError, SigningNotSupportedForAccountError, SignMessageNotSupportedByAccountError, Eip7702NotSupportedForAccountError, };
28
+ export { getModuleInstallationCalls, getModuleUninstallationCalls, getAddress, getAccountProvider, getInitCode, signEip7702InitData, getEip7702InitCall, isDeployed, deploy, toErc6492Signature, getSmartAccount, getSmartSessionSmartAccount, getGuardianSmartAccount, getPackedSignature, getTypedDataPackedSignature, isAccountError, AccountError, Eip7702AccountMustHaveEoaError, ExistingEip7702AccountsNotSupportedError, FactoryArgsNotAvailableError, SmartSessionsNotEnabledError, SigningNotSupportedForAccountError, SignMessageNotSupportedByAccountError, Eip7702NotSupportedForAccountError, };
28
29
  //# s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