Skip to content

Commit 61ffded

Browse files
committed
feat: add changeset
1 parent e147f01 commit 61ffded

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.changeset/cold-cows-bake.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
"@evolution-sdk/evolution": minor
3+
---
4+
5+
Add CIP-30 message signing support with modular architecture
6+
7+
This release introduces comprehensive CIP-30 `signData` and `verifyData` support, implementing the complete COSE Sign1 specification with a clean, modular structure:
8+
9+
**New Features:**
10+
- Full CIP-30 message signing (`signData`) and verification (`verifyData`) implementation
11+
- COSE (CBOR Object Signing and Encryption) primitives per RFC 8152
12+
- Support for Ed25519 signatures with proper COSE key structures
13+
- Message hashing with BLAKE2b-256 for payload integrity
14+
- CIP-8 compliant address field handling
15+
- Complete test coverage with CSL compatibility tests
16+
17+
**Module Structure:**
18+
- `message-signing/SignData.ts` - Main CIP-30 signData/verifyData API
19+
- `message-signing/Header.ts` - COSE header structures and operations
20+
- `message-signing/Label.ts` - COSE label types and algorithm identifiers
21+
- `message-signing/CoseSign1.ts` - COSE_Sign1 structure implementation
22+
- `message-signing/CoseKey.ts` - COSE key format support
23+
- `message-signing/Ed25519Key.ts` - Ed25519 key operations
24+
- `message-signing/Utils.ts` - Encoding and conversion utilities
25+
26+
**Breaking Changes:**
27+
- Refactored `Bytes` module API:
28+
- Renamed `bytesEquals` to `equals` with stricter type signature (no longer accepts undefined)
29+
- Removed `Bytes.FromHex` schema in favor of Effect's built-in `Schema.Uint8ArrayFromHex`
30+
- Updated `fromHex`/`toHex` to use Effect's native schemas
31+
32+
**Internal Improvements:**
33+
- Removed unused `Bytes` imports across 32 files
34+
- Updated all modules to use new Bytes API
35+
- Improved CBOR encoding/decoding with proper codec options
36+
- Enhanced type safety with Effect Schema compositions

0 commit comments

Comments
 (0)