@dynamic-labs-wallet/evm 0.0.0-beta.232.16 → 0.0.0-beta.232.2
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.
- package/index.cjs.js +22 -61
- package/index.esm.js +24 -63
- package/package.json +2 -2
- package/src/client/client.d.ts +3 -9
- package/src/client/client.d.ts.map +1 -1
- package/src/utils.d.ts +3 -7
- package/src/utils.d.ts.map +1 -1
package/index.cjs.js
CHANGED
|
@@ -17,37 +17,24 @@ function _extends() {
|
|
|
17
17
|
|
|
18
18
|
const EVM_SIGN_MESSAGE_PREFIX = `\x19Ethereum Signed Message:\n`;
|
|
19
19
|
|
|
20
|
-
const formatEVMMessage = (message_
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
]);
|
|
32
|
-
} catch (error) {
|
|
33
|
-
logger.error('[DynamicWaasWalletClient]: Error formatting EVM message:', error);
|
|
34
|
-
throw error;
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
const formatTypedData = (typedData)=>{
|
|
38
|
-
return viem.hashTypedData(typedData).slice(2);
|
|
20
|
+
const formatEVMMessage = (message_)=>{
|
|
21
|
+
const message = (()=>{
|
|
22
|
+
if (typeof message_ === 'string') return viem.stringToHex(message_);
|
|
23
|
+
if (typeof message_.raw === 'string') return message_.raw;
|
|
24
|
+
return viem.bytesToHex(message_.raw);
|
|
25
|
+
})();
|
|
26
|
+
const prefix = viem.stringToHex(`${EVM_SIGN_MESSAGE_PREFIX}${viem.size(message)}`);
|
|
27
|
+
return viem.concat([
|
|
28
|
+
prefix,
|
|
29
|
+
message
|
|
30
|
+
]);
|
|
39
31
|
};
|
|
40
|
-
const serializeECDSASignature = (signature
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
});
|
|
47
|
-
} catch (error) {
|
|
48
|
-
logger.error('[DynamicWaasWalletClient]: Error serializing ECDSA signature:', error);
|
|
49
|
-
throw error;
|
|
50
|
-
}
|
|
32
|
+
const serializeECDSASignature = (signature)=>{
|
|
33
|
+
return viem.serializeSignature({
|
|
34
|
+
r: `0x${Buffer.from(signature.r).toString('hex')}`,
|
|
35
|
+
s: `0x${Buffer.from(signature.s).toString('hex')}`,
|
|
36
|
+
v: BigInt(signature.v)
|
|
37
|
+
});
|
|
51
38
|
};
|
|
52
39
|
|
|
53
40
|
const checkRawPublicKeyInstance = (rawPublicKey)=>{
|
|
@@ -142,7 +129,7 @@ class DynamicEvmWalletClient extends browser.DynamicWalletClient {
|
|
|
142
129
|
throw new Error(browser.ERROR_ACCOUNT_ADDRESS_REQUIRED);
|
|
143
130
|
}
|
|
144
131
|
// Format the message for EVM signing
|
|
145
|
-
const formattedMessage = formatEVMMessage(message
|
|
132
|
+
const formattedMessage = formatEVMMessage(message);
|
|
146
133
|
// Sign the message using MPC
|
|
147
134
|
const signatureEcdsa = await this.sign({
|
|
148
135
|
message: formattedMessage,
|
|
@@ -152,7 +139,7 @@ class DynamicEvmWalletClient extends browser.DynamicWalletClient {
|
|
|
152
139
|
signedSessionId
|
|
153
140
|
});
|
|
154
141
|
// Serialize the signature
|
|
155
|
-
const serializedSignature = serializeECDSASignature(signatureEcdsa
|
|
142
|
+
const serializedSignature = serializeECDSASignature(signatureEcdsa);
|
|
156
143
|
return serializedSignature;
|
|
157
144
|
} catch (error) {
|
|
158
145
|
this.logger.error(browser.ERROR_SIGN_MESSAGE, error);
|
|
@@ -215,33 +202,6 @@ class DynamicEvmWalletClient extends browser.DynamicWalletClient {
|
|
|
215
202
|
throw error;
|
|
216
203
|
}
|
|
217
204
|
}
|
|
218
|
-
async signTypedData({ accountAddress, typedData, password = undefined, signedSessionId }) {
|
|
219
|
-
await this.verifyPassword({
|
|
220
|
-
accountAddress,
|
|
221
|
-
password,
|
|
222
|
-
walletOperation: browser.WalletOperation.SIGN_MESSAGE,
|
|
223
|
-
signedSessionId
|
|
224
|
-
});
|
|
225
|
-
try {
|
|
226
|
-
if (!accountAddress) {
|
|
227
|
-
throw new Error(browser.ERROR_ACCOUNT_ADDRESS_REQUIRED);
|
|
228
|
-
}
|
|
229
|
-
const formattedTypedData = formatTypedData(typedData);
|
|
230
|
-
const signatureEcdsa = await this.sign({
|
|
231
|
-
message: formattedTypedData,
|
|
232
|
-
accountAddress: accountAddress,
|
|
233
|
-
chainName: this.chainName,
|
|
234
|
-
password,
|
|
235
|
-
signedSessionId,
|
|
236
|
-
isFormatted: true
|
|
237
|
-
});
|
|
238
|
-
const serializedSignature = serializeECDSASignature(signatureEcdsa, this.logger);
|
|
239
|
-
return serializedSignature;
|
|
240
|
-
} catch (error) {
|
|
241
|
-
this.logger.error(browser.ERROR_SIGN_TYPED_DATA, error);
|
|
242
|
-
throw new Error(browser.ERROR_SIGN_TYPED_DATA);
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
205
|
deriveAccountAddress({ rawPublicKey }) {
|
|
246
206
|
const serializedUncompressed = rawPublicKey.serializeUncompressed();
|
|
247
207
|
const firstByteRemoved = serializedUncompressed.slice(1);
|
|
@@ -352,14 +312,15 @@ class DynamicEvmWalletClient extends browser.DynamicWalletClient {
|
|
|
352
312
|
const evmWallets = wallets.filter((wallet)=>wallet.chainName === 'eip155');
|
|
353
313
|
return evmWallets;
|
|
354
314
|
}
|
|
355
|
-
constructor({ environmentId, authToken, baseApiUrl, baseMPCRelayApiUrl, storageKey, debug }){
|
|
315
|
+
constructor({ environmentId, authToken, baseApiUrl, baseMPCRelayApiUrl, storageKey, debug, baseClientRelayApiUrl }){
|
|
356
316
|
super({
|
|
357
317
|
environmentId,
|
|
358
318
|
authToken,
|
|
359
319
|
baseApiUrl,
|
|
360
320
|
baseMPCRelayApiUrl,
|
|
361
321
|
storageKey,
|
|
362
|
-
debug
|
|
322
|
+
debug,
|
|
323
|
+
baseClientRelayApiUrl
|
|
363
324
|
}), this.chainName = 'EVM';
|
|
364
325
|
}
|
|
365
326
|
}
|
package/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EcdsaPublicKey, DynamicWalletClient, getClientKeyShareBackupInfo, ERROR_CREATE_WALLET_ACCOUNT, ERROR_KEYGEN_FAILED, WalletOperation, ERROR_ACCOUNT_ADDRESS_REQUIRED, ERROR_SIGN_MESSAGE, ERROR_VERIFY_MESSAGE_SIGNATURE,
|
|
2
|
-
import { stringToHex, bytesToHex, size, concat, serializeSignature,
|
|
1
|
+
import { EcdsaPublicKey, DynamicWalletClient, getClientKeyShareBackupInfo, ERROR_CREATE_WALLET_ACCOUNT, ERROR_KEYGEN_FAILED, WalletOperation, ERROR_ACCOUNT_ADDRESS_REQUIRED, ERROR_SIGN_MESSAGE, ERROR_VERIFY_MESSAGE_SIGNATURE, MessageHash, ERROR_IMPORT_PRIVATE_KEY } from '@dynamic-labs-wallet/browser';
|
|
2
|
+
import { stringToHex, bytesToHex, size, concat, serializeSignature, createPublicClient, http, getAddress, serializeTransaction } from 'viem';
|
|
3
3
|
import { mainnet } from 'viem/chains';
|
|
4
4
|
|
|
5
5
|
function _extends() {
|
|
@@ -15,37 +15,24 @@ function _extends() {
|
|
|
15
15
|
|
|
16
16
|
const EVM_SIGN_MESSAGE_PREFIX = `\x19Ethereum Signed Message:\n`;
|
|
17
17
|
|
|
18
|
-
const formatEVMMessage = (message_
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
]);
|
|
30
|
-
} catch (error) {
|
|
31
|
-
logger.error('[DynamicWaasWalletClient]: Error formatting EVM message:', error);
|
|
32
|
-
throw error;
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
const formatTypedData = (typedData)=>{
|
|
36
|
-
return hashTypedData(typedData).slice(2);
|
|
18
|
+
const formatEVMMessage = (message_)=>{
|
|
19
|
+
const message = (()=>{
|
|
20
|
+
if (typeof message_ === 'string') return stringToHex(message_);
|
|
21
|
+
if (typeof message_.raw === 'string') return message_.raw;
|
|
22
|
+
return bytesToHex(message_.raw);
|
|
23
|
+
})();
|
|
24
|
+
const prefix = stringToHex(`${EVM_SIGN_MESSAGE_PREFIX}${size(message)}`);
|
|
25
|
+
return concat([
|
|
26
|
+
prefix,
|
|
27
|
+
message
|
|
28
|
+
]);
|
|
37
29
|
};
|
|
38
|
-
const serializeECDSASignature = (signature
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
});
|
|
45
|
-
} catch (error) {
|
|
46
|
-
logger.error('[DynamicWaasWalletClient]: Error serializing ECDSA signature:', error);
|
|
47
|
-
throw error;
|
|
48
|
-
}
|
|
30
|
+
const serializeECDSASignature = (signature)=>{
|
|
31
|
+
return serializeSignature({
|
|
32
|
+
r: `0x${Buffer.from(signature.r).toString('hex')}`,
|
|
33
|
+
s: `0x${Buffer.from(signature.s).toString('hex')}`,
|
|
34
|
+
v: BigInt(signature.v)
|
|
35
|
+
});
|
|
49
36
|
};
|
|
50
37
|
|
|
51
38
|
const checkRawPublicKeyInstance = (rawPublicKey)=>{
|
|
@@ -140,7 +127,7 @@ class DynamicEvmWalletClient extends DynamicWalletClient {
|
|
|
140
127
|
throw new Error(ERROR_ACCOUNT_ADDRESS_REQUIRED);
|
|
141
128
|
}
|
|
142
129
|
// Format the message for EVM signing
|
|
143
|
-
const formattedMessage = formatEVMMessage(message
|
|
130
|
+
const formattedMessage = formatEVMMessage(message);
|
|
144
131
|
// Sign the message using MPC
|
|
145
132
|
const signatureEcdsa = await this.sign({
|
|
146
133
|
message: formattedMessage,
|
|
@@ -150,7 +137,7 @@ class DynamicEvmWalletClient extends DynamicWalletClient {
|
|
|
150
137
|
signedSessionId
|
|
151
138
|
});
|
|
152
139
|
// Serialize the signature
|
|
153
|
-
const serializedSignature = serializeECDSASignature(signatureEcdsa
|
|
140
|
+
const serializedSignature = serializeECDSASignature(signatureEcdsa);
|
|
154
141
|
return serializedSignature;
|
|
155
142
|
} catch (error) {
|
|
156
143
|
this.logger.error(ERROR_SIGN_MESSAGE, error);
|
|
@@ -213,33 +200,6 @@ class DynamicEvmWalletClient extends DynamicWalletClient {
|
|
|
213
200
|
throw error;
|
|
214
201
|
}
|
|
215
202
|
}
|
|
216
|
-
async signTypedData({ accountAddress, typedData, password = undefined, signedSessionId }) {
|
|
217
|
-
await this.verifyPassword({
|
|
218
|
-
accountAddress,
|
|
219
|
-
password,
|
|
220
|
-
walletOperation: WalletOperation.SIGN_MESSAGE,
|
|
221
|
-
signedSessionId
|
|
222
|
-
});
|
|
223
|
-
try {
|
|
224
|
-
if (!accountAddress) {
|
|
225
|
-
throw new Error(ERROR_ACCOUNT_ADDRESS_REQUIRED);
|
|
226
|
-
}
|
|
227
|
-
const formattedTypedData = formatTypedData(typedData);
|
|
228
|
-
const signatureEcdsa = await this.sign({
|
|
229
|
-
message: formattedTypedData,
|
|
230
|
-
accountAddress: accountAddress,
|
|
231
|
-
chainName: this.chainName,
|
|
232
|
-
password,
|
|
233
|
-
signedSessionId,
|
|
234
|
-
isFormatted: true
|
|
235
|
-
});
|
|
236
|
-
const serializedSignature = serializeECDSASignature(signatureEcdsa, this.logger);
|
|
237
|
-
return serializedSignature;
|
|
238
|
-
} catch (error) {
|
|
239
|
-
this.logger.error(ERROR_SIGN_TYPED_DATA, error);
|
|
240
|
-
throw new Error(ERROR_SIGN_TYPED_DATA);
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
203
|
deriveAccountAddress({ rawPublicKey }) {
|
|
244
204
|
const serializedUncompressed = rawPublicKey.serializeUncompressed();
|
|
245
205
|
const firstByteRemoved = serializedUncompressed.slice(1);
|
|
@@ -350,14 +310,15 @@ class DynamicEvmWalletClient extends DynamicWalletClient {
|
|
|
350
310
|
const evmWallets = wallets.filter((wallet)=>wallet.chainName === 'eip155');
|
|
351
311
|
return evmWallets;
|
|
352
312
|
}
|
|
353
|
-
constructor({ environmentId, authToken, baseApiUrl, baseMPCRelayApiUrl, storageKey, debug }){
|
|
313
|
+
constructor({ environmentId, authToken, baseApiUrl, baseMPCRelayApiUrl, storageKey, debug, baseClientRelayApiUrl }){
|
|
354
314
|
super({
|
|
355
315
|
environmentId,
|
|
356
316
|
authToken,
|
|
357
317
|
baseApiUrl,
|
|
358
318
|
baseMPCRelayApiUrl,
|
|
359
319
|
storageKey,
|
|
360
|
-
debug
|
|
320
|
+
debug,
|
|
321
|
+
baseClientRelayApiUrl
|
|
361
322
|
}), this.chainName = 'EVM';
|
|
362
323
|
}
|
|
363
324
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs-wallet/evm",
|
|
3
|
-
"version": "0.0.0-beta.232.
|
|
3
|
+
"version": "0.0.0-beta.232.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@dynamic-labs-wallet/browser": "0.0.0-beta.232.
|
|
6
|
+
"@dynamic-labs-wallet/browser": "0.0.0-beta.232.2"
|
|
7
7
|
},
|
|
8
8
|
"peerDependencies": {
|
|
9
9
|
"viem": "^2.22.1"
|
package/src/client/client.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DynamicWalletClient,
|
|
2
|
-
import { type
|
|
1
|
+
import { DynamicWalletClient, EcdsaKeygenResult, EcdsaPublicKey, Ed25519KeygenResult, ThresholdSignatureScheme, DynamicWalletClientProps } from '@dynamic-labs-wallet/browser';
|
|
2
|
+
import { type PublicClient, type Chain, type SignableMessage, type TransactionSerializable } from 'viem';
|
|
3
3
|
export declare class DynamicEvmWalletClient extends DynamicWalletClient {
|
|
4
4
|
readonly chainName = "EVM";
|
|
5
|
-
constructor({ environmentId, authToken, baseApiUrl, baseMPCRelayApiUrl, storageKey, debug, }: DynamicWalletClientProps);
|
|
5
|
+
constructor({ environmentId, authToken, baseApiUrl, baseMPCRelayApiUrl, storageKey, debug, baseClientRelayApiUrl, }: DynamicWalletClientProps);
|
|
6
6
|
createViemPublicClient({ chain, rpcUrl, }: {
|
|
7
7
|
chain: Chain;
|
|
8
8
|
rpcUrl?: string;
|
|
@@ -34,12 +34,6 @@ export declare class DynamicEvmWalletClient extends DynamicWalletClient {
|
|
|
34
34
|
password?: string;
|
|
35
35
|
signedSessionId?: string;
|
|
36
36
|
}): Promise<string>;
|
|
37
|
-
signTypedData({ accountAddress, typedData, password, signedSessionId, }: {
|
|
38
|
-
accountAddress: string;
|
|
39
|
-
typedData: TypedData;
|
|
40
|
-
password?: string;
|
|
41
|
-
signedSessionId?: string;
|
|
42
|
-
}): Promise<`0x${string}`>;
|
|
43
37
|
deriveAccountAddress({ rawPublicKey }: {
|
|
44
38
|
rawPublicKey: EcdsaPublicKey;
|
|
45
39
|
}): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client/client.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client/client.ts"],"names":[],"mappings":"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"}
|
package/src/utils.d.ts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import type { EcdsaSignature
|
|
2
|
-
import type { TypedData } from 'viem';
|
|
1
|
+
import type { EcdsaSignature } from '@dynamic-labs-wallet/browser';
|
|
3
2
|
export declare const formatEVMMessage: (message_: string | {
|
|
4
3
|
raw: string | Uint8Array;
|
|
5
|
-
}
|
|
6
|
-
export declare const
|
|
7
|
-
[key: string]: unknown;
|
|
8
|
-
}) => string;
|
|
9
|
-
export declare const serializeECDSASignature: (signature: EcdsaSignature, logger: Logger) => `0x${string}`;
|
|
4
|
+
}) => `0x${string}`;
|
|
5
|
+
export declare const serializeECDSASignature: (signature: EcdsaSignature) => `0x${string}`;
|
|
10
6
|
//# sourceMappingURL=utils.d.ts.map
|
package/src/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../packages/src/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../packages/src/utils.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEnE,eAAO,MAAM,gBAAgB,aACjB,MAAM,GAAG;IAAE,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;CAAE,kBAUhD,CAAC;AAEF,eAAO,MAAM,uBAAuB,cAAe,cAAc,kBAMhE,CAAC"}
|