-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy patherc20.gemspec
35 lines (32 loc) · 1.37 KB
/
erc20.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# frozen_string_literal: true
# SPDX-FileCopyrightText: Copyright (c) 2025 Yegor Bugayenko
# SPDX-License-Identifier: MIT
require 'English'
require_relative 'lib/erc20/erc20'
Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
s.required_ruby_version = '>=3.0'
s.name = 'erc20'
s.version = ERC20::VERSION
s.license = 'MIT'
s.summary = 'Sending and receiving ERC20 tokens in Ethereum network'
s.description =
'A simple library for making ERC20 manipulations as easy as they ' \
'can be for cryptocurrency newbies: checking balance, sending payments, ' \
'and monitoring addresses for incoming payments. The library expects ' \
'Ethereum node to provide JSON RPC and Websockets API.'
s.authors = ['Yegor Bugayenko']
s.email = '[email protected]'
s.homepage = 'http://github.com/yegor256/erc20.rb'
s.files = `git ls-files`.split($RS)
s.rdoc_options = ['--charset=UTF-8']
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
s.extra_rdoc_files = ['README.md', 'LICENSE.txt']
s.add_dependency 'eth', '>=0.5.13'
s.add_dependency 'faye-websocket', '>=0.11.3'
s.add_dependency 'json', '>=2.10.1'
s.add_dependency 'jsonrpc-client', '>=0.1.4'
s.add_dependency 'loog', '>0'
s.add_dependency 'slop', '>4'
s.metadata['rubygems_mfa_required'] = 'true'
end