New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

near-ca

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

near-ca - npm Package Compare versions

Comparing version 0.0.0-alpha.0 to 0.0.0-alpha.1

examples/mint-nft.ts

2

dist/chains/ethereum.js

@@ -36,3 +36,3 @@ import { Common } from "@ethereumjs/common";

nonce,
gasLimit: 1000000,
gasLimit: feeData.lastBaseFeePerGas?.toBigInt(),
maxFeePerGas: feeData.maxFeePerGas?.toBigInt(),

@@ -39,0 +39,0 @@ maxPriorityFeePerGas: feeData.maxPriorityFeePerGas?.toBigInt(),

@@ -5,7 +5,7 @@ {

"type": "module",
"version": "0.0.0-alpha.0",
"version": "0.0.0-alpha.1",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc"
"build": "rm -rf ./dist && tsc"
},

@@ -12,0 +12,0 @@ "devDependencies": {

# NEAR Chain Abstraction Layer (NEAR-CA)
NEAR-CA is a TypeScript library that provides an abstraction layer for interacting with the NEAR blockchain. It simplifies the process of performing transactions and managing accounts on NEAR and Ethereum chains.
**DISCLAIMER: This should only be used for educational purposes.**
NEAR-CA is a TypeScript library that provides an abstraction layer for interacting with the NEAR blockchain. It simplifies the process of performing transactions and managing accounts on NEAR and Ethereum chains.
Intended to be used on server-side applications only. This works best with [Bun](https://bun.sh).
## Features

@@ -17,5 +21,15 @@

```bash
npm i near-ca
bun add near-ca
```
Alternatively,
```bash
npm add near-ca
```
```bash
pnpm add near-ca
```
## Usage

@@ -51,2 +65,7 @@

## Examples
1. [Mint NFT](./examples/mint-nft.ts)
1. [Send ETH](./examples/send-eth.ts)
## Configuration

@@ -60,4 +79,2 @@

## Contributing
Contributions are welcome! Please feel free to submit pull requests or open issues.
Copy the `.env.example` file and place these values in `.env`

@@ -61,3 +61,3 @@ import { Common } from "@ethereumjs/common";

nonce,
gasLimit: 1000000,
gasLimit: feeData.lastBaseFeePerGas?.toBigInt(),
maxFeePerGas: feeData.maxFeePerGas?.toBigInt(),

@@ -64,0 +64,0 @@ maxPriorityFeePerGas: feeData.maxPriorityFeePerGas?.toBigInt(),

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc