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

authereum

Package Overview
Dependencies
Maintainers
3
Versions
301
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

authereum

Authereum library

  • 0.1.14
  • beta
  • next
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1.6K
increased by83.04%
Maintainers
3
Weekly downloads
 
Created
Source

authereum

The Authereum library

Documentation License dependencies Status NPM version

Install

npm install authereum

Getting started

Initializing SDK:

import Authereum from 'authereum'

const authereum = new Authereum(/* options */)

authereum.login()

Getting web3 provider:

import Web3 from 'web3'
import Authereum from 'authereum'

const authereum = new Authereum(/* options */)
const provider = authereum.getProvider()
const web3 = new Web3(provider)

Using Ethers.js Signer:

import { AuthereumSigner } from 'authereum'

const signer = new AuthereumSigner(/* options */)

const tx = {
  gasPrice: '0x2540be400',
  gasLimit: '0x186a0',
  to: '0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1',
  value: '0x00',
  data: '0x',
}

const result = await signer.sendTransaction(tx)
console.log(result.hash)

Options:

  • mainnet, kovan, rinkeby, ropsten, goerli

CDN

[https://cdn.jsdelivr.net/npm/authereum@latest/authereum.js](jsDelivr CDN)

<script src="https://cdn.jsdelivr.net/npm/authereum@latest/authereum.js"></script>

[https://unpkg.com/authereum@latest/authereum.js](unpkg CDN)

<script src="https://unpkg.com/authereum@latest/authereum.js"></script>

Full Documentation

Full documentation is available on our docs page.

Development

Watch and build:

npm run dev

Build:

npm run build

Lint:

npm run lint

Test

npm test

License

MIT

FAQs

Package last updated on 02 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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