An open API service indexing awesome lists of open source software.

https://github.com/gubnota/chimera-provider

ChimeraProvider based on Ethereum-provider (eth-provider powered example)
https://github.com/gubnota/chimera-provider

eth ethereum web3 webpack

Last synced: 2 months ago
JSON representation

ChimeraProvider based on Ethereum-provider (eth-provider powered example)

Awesome Lists containing this project

README

          

# How to use

This is a simple HTTP provider based on `eth-provider` and `ethereum-provider` packages made solely for development purposes to interact as Dapp without using Metamask or other compatible extensions.

To use it:

```sh
npm run build
```

Then import `public/chimeraProvider.js`, to use:

```js
window.eth_accounts = ['0x95e6FeeeBDD83a44EB7Ca87F3EEeC4632F4218A5']
window.ethereum = ChimeraProvider('https://bsc-dataseed1.ninicoin.io/')
// probably:
// window.web3 = new Web3(window.ethereum)
```