Skip to content

unstoppabledomains/browseth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Browseth

Browseth is a complete Ethereum development solution for web and server applications. Most popular solutions don't carry the full spectrum of features needed in every Ethereum application. Browseth supports external wallets, passive request batching, ABIv2 codec, and many other features needed to build robust web applications along with templates to help you get up and running quickly.

Installation

You can use Browseth in a <script> tag from a CDN, or as the browseth package on npm.

If you want to use Browseth's specialized distributions or inner workings in one of your projects look at the list of packages.

Example

import Browseth from 'browseth'

const eth = new Browseth()

eth.useOnlineAccount()

const txId = eth.send({
  to: 'random-ens-name.eth',
  value: eth.etherToWei(0.1),
})

// NOTE: txId is not a transaction hash.
// Browseth uses a queueing system to send and brodcast transactions, txId is a uuid that Browseth uses internally.

eth.tx
  .resolve(txId)
  .then(receipt => {
    console.log(receipt)
  })
  .catch(() => {
    console.error('failed to mine transaction')
  })

Contributing

If you want to contribute to Browseth you can create an issue or you can take a look at our development guide.

Feel free to reach out directly to myself [email protected] or the team [email protected].

License

Browseth is MIT licensed.