Skip to content

convert coin-flip-example to ts#37

Open
Amira1502 wants to merge 3 commits into
near-examples:mainfrom
Amira1502:convert-to-ts
Open

convert coin-flip-example to ts#37
Amira1502 wants to merge 3 commits into
near-examples:mainfrom
Amira1502:convert-to-ts

Conversation

@Amira1502
Copy link
Copy Markdown
Contributor

@Amira1502 Amira1502 commented Sep 30, 2025

Summary
This PR converts the entire guest-book-examples frontend from JavaScript to TypeScript. All pages, components, and wallet integrations have been updated to use .ts / .tsx files with appropriate typing.

Changes

  • Renamed .js files to .ts or .tsx.
  • Added TypeScript types for components, pages, and props.
  • Update Next.js to 15
  • Removed dependencies: wallet-selector, viem, wagmi, and reown.
  • Updated wallet connection logic to use near-selector.
  • Updated TypeScript types and hooks to match the near-selector API.
  • Removed the old wallet folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants