@@ -58,12 +58,12 @@ The SDK includes:
5858
5959## 🚀 Quick Start
6060
61- ### TestnetDemo (Easiest Way)
61+ ### Demo Scene (Easiest Way)
6262
63- 1 . Create an empty GameObject
64- 2 . Add ` TestnetDemo ` component
65- 3 . Play → Account generated automatically
66- 4 . Use context menu (right-click) for all operations
63+ 1 . ** Window → Casper SDK → Create Demo Scene **
64+ 2 . Play the generated ` CasperWalletDemo ` scene
65+ 3 . Click ** Import Keys ** to load your Casper Wallet PEM file
66+ 4 . Use the UI buttons for all operations
6767
6868### Basic Usage
6969
@@ -91,7 +91,7 @@ var result = await transferService.TransferAsync(
9191// Import PEM file exported from Casper Wallet
9292var keyPair = KeyExporter .ImportFromPemFile (" path/to/secret_key.pem" );
9393
94- // Export for Casper Signer
94+ // Export for Casper Wallet
9595KeyExporter .ExportToPemFiles (keyPair , " output/path" );
9696```
9797
@@ -163,35 +163,34 @@ Right-click in Project → Create → CasperSDK → Network Config
163163
164164## 🎯 Examples
165165
166- ### TestnetDemo Features
166+ ### CasperWalletDemo UI
167167
168- | Context Menu | Action |
169- | --------------| --------|
170- | Generate New Account | Create ED25519 key pair |
171- | Check Balance | Query CSPR balance |
172- | Prepare Test Transfer | Build & sign (no send) |
173- | Execute Transfer | Send real CSPR |
174- | Export Keys to PEM | For Casper Wallet/Signer |
175- | Import Keys from PEM | Load existing keys |
176- | Open Testnet Faucet | Get free testnet CSPR |
177- | Open Block Explorer | View on cspr.live |
168+ | Button | Action |
169+ | --------| --------|
170+ | Generate Account | Create new ED25519 key pair |
171+ | Import Keys | Load PEM from Documents/CasperKeys |
172+ | Refresh Balance | Query CSPR balance |
173+ | Copy Address | Copy public key to clipboard |
174+ | Export Keys | Save PEM to Documents/CasperKeys |
175+ | Open Faucet | Get free testnet CSPR |
176+ | Send Transaction | Transfer CSPR to recipient |
178177
179178### Workflow for Testing
180179
181- 1 . ** Play ** → Account generated
182- 2 . ** Export Keys to PEM ** → Opens folder
183- 3 . ** Import in Casper Wallet ** → Upload .pem file
184- 4 . ** Faucet ** → Request testnet CSPR
185- 5 . ** Check Balance** → See 1000 CSPR
186- 6 . ** Execute Transfer ** → Send to another account
180+ 1 . ** Casper Wallet → Settings → Download Secret Key ** → Save PEM
181+ 2 . Copy PEM to ` Documents/CasperKeys/ `
182+ 3 . In Unity: ** Window → Casper SDK → Create Demo Scene **
183+ 4 . ** Play ** → Click ** Import Keys ** → Keys loaded
184+ 5 . ** Refresh Balance** → See your CSPR
185+ 6 . Enter recipient + amount → ** Send Transaction **
187186
188187---
189188
190189## 🗂️ Project Structure
191190
192191```
193192Assets/CasperSDK/
194- ├── Editor/ # Settings window
193+ ├── Editor/ # Settings window, DemoSceneCreator
195194├── Plugins/ # BouncyCastle.Crypto.dll
196195├── Runtime/
197196│ ├── Core/ # Configuration, Interfaces
@@ -200,17 +199,17 @@ Assets/CasperSDK/
200199│ ├── Services/
201200│ │ ├── Account/ # Balance, keys
202201│ │ ├── Contract/ # WASM, calls
203- │ │ ├── Deploy/ # Builder, Signer
202+ │ │ ├── Deploy/ # Builder, Signer, CLValueBuilder
204203│ │ ├── Events/ # SSE streaming
205204│ │ ├── NFT/ # CEP-78 support
206205│ │ ├── Storage/ # Secure key storage
207206│ │ ├── Transfer/ # CSPR transfers
208207│ │ └── Wallet/ # Multi-account
209208│ ├── Utilities/
210- │ │ └── Cryptography/ # Keys, hashing
211- │ └── Examples/ # TestnetDemo, WalletUI
212- ├── Samples/ # Sample components
213- └── Tests/ # 46 unit tests
209+ │ │ └── Cryptography/ # Keys, hashing, PEM import/export
210+ │ └── Examples/ # TestnetDemo, BasicSDKExample
211+ ├── Samples/ # CasperWalletDemo scene & controller
212+ └── Tests/ # Unit tests (12 test files)
214213```
215214
216215---
0 commit comments