ggbash icon indicating copy to clipboard operation
ggbash copied to clipboard

[Feature]: 🌍 NEAR Integration

Open iamnotstatic opened this issue 8 months ago • 5 comments

Describe the Feature

Add support for NEAR Protocol within the wallet to enable native NEAR address creation, balance display, transaction signing, and contract interaction.

Motivation / Use Case

NEAR offers a developer-friendly, scalable blockchain with low fees, fast finality, and human-readable account names (e.g. username.near). It’s gaining adoption in consumer apps, payments, and DeFi. Adding NEAR would expand the wallet’s appeal to users and builders focused on performance and usability.

Possible Implementation

Possible Implementation

Use the near-api-js library for wallet functionality:

Keypair generation and mnemonic support.

Viewing balances and sending NEAR.

Smart contract calls and account management.

Create a modular chain-near adapter with:

NEAR RPC configuration.

Wallet/account abstraction similar to other chains.

Utilities to support .near account aliases.

Technical Notes

NEAR uses base58 encoding for addresses.

Transactions are signed using ed25519 keys.

Account creation can be human-readable or derived from a public key.

Network endpoints:

Testnet: https://rpc.testnet.near.org

Mainnet: https://rpc.mainnet.near.org

Potential Impact

  • [x] This would improve developer experience
  • [x] This would improve end-user experience
  • [x] This would support new chains or protocols
  • [ ] This could affect existing functionality

iamnotstatic avatar Apr 05 '25 17:04 iamnotstatic

Hi @iamnotstatic, I would like to work on this

somT-oss avatar May 08 '25 06:05 somT-oss

Hi @iamnotstatic, I would like to work on this

Hello, that sounds great. let me know if you need anything

iamnotstatic avatar May 08 '25 06:05 iamnotstatic

Okay, will do

somT-oss avatar May 08 '25 07:05 somT-oss

Okay, will do

How's this coming along?

iamnotstatic avatar Aug 11 '25 11:08 iamnotstatic

I've started working on it but paused work. I'm currently preparing for my final exams in uni. I'll resume immediately I'm done.

somT-oss avatar Aug 11 '25 12:08 somT-oss