Skip to content

update - #27

Merged
matiasbenary merged 1 commit into
mainfrom
update
Jul 23, 2026
Merged

update#27
matiasbenary merged 1 commit into
mainfrom
update

Conversation

@matiasbenary

Copy link
Copy Markdown
Contributor

This pull request modernizes and streamlines the project by updating dependencies, refactoring wallet integration, and improving CI workflows for both Rust and TypeScript contracts. The most important changes are grouped below.


Frontend Modernization and Wallet Integration:

  • Migrated from @near-wallet-selector and related packages to near-connect-hooks, simplifying wallet integration and removing EVM wallet support and related configuration. Updated UI to use new wallet hooks and improved sign-in UX by specifying function call access keys. (frontend/package.json, frontend/src/components/Navigation.jsx, frontend/src/pages/_app.js, frontend/src/config.js) [1] [2] [3] [4] [5]
  • Upgraded near-api-js and other dependencies to latest versions, and updated React/Next.js to v19/v16 for improved performance and compatibility. (frontend/package.json)
  • Updated Node.js engine requirement to v20+. (frontend/package.json)

Continuous Integration Improvements:

  • Updated GitHub Actions workflows to use pnpm instead of yarn, Node.js v24, and limited workflow triggers to relevant paths for better efficiency. (.github/workflows/nextjs.yml, .github/workflows/tests-ts.yml, .github/workflows/tests-rs.yml) [1] [2] [3] [4]
  • Added concurrency controls to prevent duplicate workflow runs and improved caching and dependency installation steps for Rust and TypeScript contract tests. (.github/workflows/tests-ts.yml, .github/workflows/tests-rs.yml) [1] [2] [3]

Smart Contract and Testing Updates:

  • Upgraded Rust toolchain to 1.97.1 and updated near-sdk, cargo-near-build, and tokio dependencies for the Rust contract. Removed temporary dependency version pins. (contract-rs/Cargo.toml, contract-rs/rust-toolchain.toml) [1] [2]
  • Refactored TypeScript contract tests to use near-sandbox and near-api-js directly, replacing near-workspaces and modernizing test structure for better maintainability and speed. (contract-ts/sandbox-test/main.ava.js, contract-ts/package.json) [1] [2]
  • Updated TypeScript configuration for ES2020, module resolution, and improved test settings. (contract-ts/tsconfig.json, contract-ts/package.json) [1] [2]

@matiasbenary
matiasbenary requested a review from gagdiez July 23, 2026 13:37
@matiasbenary
matiasbenary merged commit ad313d6 into main Jul 23, 2026
14 checks passed
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.

1 participant