Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update Cartridge Controller configuration in getting-started gu…
…ide (#558) ![image](https://github.com/user-attachments/assets/e3bb6caf-9e6d-4281-8eb5-a3bd97a7bc51) ## Changes - Update ControllerConnector configuration example to align with @cartridge/connector v0.6.0 API - Add proper chains configuration with Sepolia and Mainnet RPC URLs - Add defaultChainId parameter using StarknetChainId.SN_SEPOLIA - Import required constants from starknet and @starknet-react/core packages ## Reason for changes The current getting-started guide uses an outdated configuration that's incompatible with the latest @cartridge/connector v0.6.0. This PR updates the example code to prevent TypeScript errors and ensure proper functionality with the current version. ## Testing - Verified the updated configuration works with @cartridge/connector v0.6.0 - Confirmed all TypeScript errors are resolved - Tested connectivity with both Sepolia and Mainnet networks
- Loading branch information