web3

Version, currently master branch1 version
  • master branchlatestOct 28, 2018

github.com/light-side-software/web3.cr

Ethereum Crystal API.

8 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  web3:
    github: light-side-software/web3.cr
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
no constraint declared
License
MIT
Author
Tamás Szekeres <szektam2@gmail.com>

Dependencies

Development Dependencies

  • webmock*github: manastech/webmock.cr, branch: masterdev

README

# web3.cr

Ethereum Crystal API

## Installation

Add this to your application's `shard.yml`:

```yaml
dependencies:
  web3:
    github: light-side-software/web3.cr
```

## Usage

```crystal
require "web3"

web3 = Web3::Client.new(RpcProvider.new("http://localhost:8545"))
pp web3.client_version
pp web3.eth.syncing
```

## Contributing

1. Fork it ( https://github.com/light-side-software/web3.cr/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request

## Contributors

- [Tamás Szekeres](https://github.com/TamasSzekeres) creator, maintainer