All Projects → onrik → Ethrpc

onrik / Ethrpc

Licence: mit
Golang client for ethereum json rpc api

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Labels

Projects that are alternatives of or similar to Ethrpc

Solidity Doc Cn
以太坊Solidity语言中文文档
Stars: ✭ 183 (-6.15%)
Mutual labels:  ethereum
Chainbook
📚 区块链上的纸质书交易平台,为未来而构建!
Stars: ✭ 189 (-3.08%)
Mutual labels:  ethereum
Ethereum
以太坊开发 HelloWorld for Java
Stars: ✭ 191 (-2.05%)
Mutual labels:  ethereum
Use Wallet
👛 useWallet() · All-in-one solution to connect a dapp to an Ethereum provider.
Stars: ✭ 182 (-6.67%)
Mutual labels:  ethereum
Multisender
Token Multisender Dapp smart contract. Airdrop tokens. Batch sending ERC20, ETH, Ethereum tokens. Send thousands of transfers in a few transactions. It can help user to save more tx fee and time than sending one by one
Stars: ✭ 185 (-5.13%)
Mutual labels:  ethereum
Ethwallet
A ethereum wallet like imToken
Stars: ✭ 190 (-2.56%)
Mutual labels:  ethereum
Tbtc
Trustlessly tokenized Bitcoin on Ethereum ;)
Stars: ✭ 182 (-6.67%)
Mutual labels:  ethereum
Pyquarkchain
Python implementation of QuarkChain
Stars: ✭ 194 (-0.51%)
Mutual labels:  ethereum
Learning Blockchain
Tidy up Blockchain ecosystem and tutorial
Stars: ✭ 188 (-3.59%)
Mutual labels:  ethereum
Uniswap Python
🦄 The unofficial Python client for the Uniswap exchange.
Stars: ✭ 191 (-2.05%)
Mutual labels:  ethereum
Armors Solidity
Armors-solidity is a framework to build secure smart contracts on Ethereum.
Stars: ✭ 184 (-5.64%)
Mutual labels:  ethereum
Monorepo
Home for all packages related to the Counterfactual project
Stars: ✭ 187 (-4.1%)
Mutual labels:  ethereum
Loom Js
JS library for building browser apps & NodeJS services that interact with Loom DAppChains
Stars: ✭ 189 (-3.08%)
Mutual labels:  ethereum
Ultimateicocalendar
The ICO calendar to end all ICO calendars
Stars: ✭ 183 (-6.15%)
Mutual labels:  ethereum
Mantis
A Scala based client for Ethereum-like Blockchains.
Stars: ✭ 191 (-2.05%)
Mutual labels:  ethereum
Blockchainwallet Crypto
比特币、以太坊公私钥生成以及签名,长时间不维护可移步 https://github.com/QuincySx/ChainWallet
Stars: ✭ 183 (-6.15%)
Mutual labels:  ethereum
Claymore Dual Miner
Download Ethereum Miner (Updated 2020)
Stars: ✭ 186 (-4.62%)
Mutual labels:  ethereum
3box Js
3Box JavaScript SDK: User identities, storage, messaging
Stars: ✭ 195 (+0%)
Mutual labels:  ethereum
My Wallet V3 Frontend
Blockchain Web Wallet Frontend
Stars: ✭ 192 (-1.54%)
Mutual labels:  ethereum
Arc
Arc is an operating system for DAOs.
Stars: ✭ 190 (-2.56%)
Mutual labels:  ethereum

Ethrpc

Tests Coverage Status Go Report Card PkgGoDev Donate with Ethereum

Golang client for ethereum JSON RPC API.

  • [x] web3_clientVersion
  • [x] web3_sha3
  • [x] net_version
  • [x] net_peerCount
  • [x] net_listening
  • [x] eth_protocolVersion
  • [x] eth_syncing
  • [x] eth_coinbase
  • [x] eth_mining
  • [x] eth_hashrate
  • [x] eth_gasPrice
  • [x] eth_accounts
  • [x] eth_blockNumber
  • [x] eth_getBalance
  • [x] eth_getStorageAt
  • [x] eth_getTransactionCount
  • [x] eth_getBlockTransactionCountByHash
  • [x] eth_getBlockTransactionCountByNumber
  • [x] eth_getUncleCountByBlockHash
  • [x] eth_getUncleCountByBlockNumber
  • [x] eth_getCode
  • [x] eth_sign
  • [x] eth_sendTransaction
  • [x] eth_sendRawTransaction
  • [x] eth_call
  • [x] eth_estimateGas
  • [x] eth_getBlockByHash
  • [x] eth_getBlockByNumber
  • [x] eth_getTransactionByHash
  • [x] eth_getTransactionByBlockHashAndIndex
  • [x] eth_getTransactionByBlockNumberAndIndex
  • [x] eth_getTransactionReceipt
  • [ ] eth_pendingTransactions
  • [ ] eth_getUncleByBlockHashAndIndex
  • [ ] eth_getUncleByBlockNumberAndIndex
  • [x] eth_getCompilers (DEPRECATED)
  • [ ] eth_compileLLL (DEPRECATED)
  • [ ] eth_compileSolidity (DEPRECATED)
  • [ ] eth_compileSerpent (DEPRECATED)
  • [x] eth_newFilter
  • [x] eth_newBlockFilter
  • [x] eth_newPendingTransactionFilter
  • [x] eth_uninstallFilter
  • [x] eth_getFilterChanges
  • [x] eth_getFilterLogs
  • [x] eth_getLogs
  • [ ] eth_getWork
  • [ ] eth_submitWork
  • [ ] eth_submitHashrate
  • [ ] eth_getProof
  • [ ] db_putString
  • [ ] db_getString
  • [ ] db_putHex
  • [ ] db_getHex
  • [ ] shh_post
  • [ ] shh_version
  • [ ] shh_newIdentity
  • [ ] shh_hasIdentity
  • [ ] shh_newGroup
  • [ ] shh_addToGroup
  • [ ] shh_newFilter
  • [ ] shh_uninstallFilter
  • [ ] shh_getFilterChanges
  • [ ] shh_getMessages
Usage:
package main

import (
    "fmt"
    "log"

    "github.com/onrik/ethrpc"
)

func main() {
    client := ethrpc.New("http://127.0.0.1:8545")

    version, err := client.Web3ClientVersion()
    if err != nil {
        log.Fatal(err)
    }
    fmt.Println(version)

    // Send 1 eth
    txid, err := client.EthSendTransaction(ethrpc.T{
        From:  "0x6247cf0412c6462da2a51d05139e2a3c6c630f0a",
        To:    "0xcfa202c4268749fbb5136f2b68f7402984ed444b",
        Value: ethrpc.Eth1(),
    })
    if err != nil {
        log.Fatal(err)
    }
    fmt.Println(txid)
}

Donate with Ethereum

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].