{"repo":"BitteProtocol/near-ca","free":true,"listed":false,"github":"https://github.com/BitteProtocol/near-ca","clone":"git clone https://github.com/BitteProtocol/near-ca.git","description":"An SDK for controlling Ethereum EOAs from a Near Account","language":"TypeScript","stars":22,"topics":["ethereum","near","sdk"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"NEAR Chain Abstraction Layer (NEAR-CA) NEAR-CA is a TypeScript library designed to provide an abstraction layer for interacting with the NEAR blockchain, simplifying the process of performing transactions and managing accounts on both NEAR and Ethereum chains. This library is intended for use in server-side applications only. Features - EVM Account Derivation from NEAR blockchain. - Transaction signing and sending on the Ethereum blockchain. - Key derivation functions for cryptographic operations. - Support for EIP-1559 transactions on Ethereum. - Wallet Connect intergration tools. Usage CLI For Ethereum, you can derive addresses, create payloads for transactions, and send signed transactions. For more detailed usage examples, see the Examples README. Integrations near-safe extends this tool kit by using the EOA as an owner of an ERC-4337 Safe account. Frontend/UI Install near-ca, run the following command: Example: Setup NearEthAdapter and Send ETH Here's an example of how to set up the NearEthAdapter and send ETH: Other Examples (CLI) These examples require Private Key to be supplied: Each of the following scripts can be run with 1. (Basic) Send ETH 2. WETH - Deposit (aka wrap-ETH) - Withdraw (aka unwrap-ETH) 3. Transfer ERC721 4. (Advanced) Buy NFT On Opensea Configuration Before using NEAR-CA, ensure you have the following environment variables set in your .env file: - NEAR ACCOUNT ID : Your NEAR account identifier. - NEAR ACCOUNT PRIVATE KEY : Your NEAR account private k","default_branch":null,"files":null,"tree":[],"storefront":"/r/BitteProtocol","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BitteProtocol/near-ca/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}