All Projects → romainPellerin → eosgo-client

romainPellerin / eosgo-client

Licence: other
A simple Go wrapper of EOS (eosio) RPC API, and more!

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to eosgo-client

luckydog
luckydog(锦鲤) 一个幸运小游戏
Stars: ✭ 14 (-51.72%)
Mutual labels:  smart-contracts, eos, eosio
eosio-rust
EOSIO SDK for Rust – APIs for building smart contracts on EOSIO blockchains in Rust
Stars: ✭ 93 (+220.69%)
Mutual labels:  smart-contracts, eosio
ora
Bloq Ora multi-blockchain smart contract compute oracle and validation engine
Stars: ✭ 28 (-3.45%)
Mutual labels:  smart-contracts, eosio
Octopus
Security Analysis tool for WebAssembly module (wasm) and Blockchain Smart Contracts (BTC/ETH/NEO/EOS)
Stars: ✭ 261 (+800%)
Mutual labels:  smart-contracts, eos
Eos Bios
DEPRECATED: use `eosc boot` now. Historically: Orchestrator for a decentralized EOS.IO blockchain network boot
Stars: ✭ 173 (+496.55%)
Mutual labels:  eos, eosio
Monstereos
A Tamagotchi and Battle Game for EOS Blockchain :)
Stars: ✭ 174 (+500%)
Mutual labels:  eos, eosio
Smart-Contract-Security-Audits
Certified Smart Contract Audits (Ethereum, Hyperledger, xDAI, Huobi ECO Chain, Binance Smart Chain, Fantom, EOS, Tezos) by Chainsulting
Stars: ✭ 325 (+1020.69%)
Mutual labels:  smart-contracts, eos
Cryptokylin Testnet
EOS.io Kylin Testnet by cryptokylin.io
Stars: ✭ 140 (+382.76%)
Mutual labels:  eos, eosio
Eos Smart Contract Security Best Practices
A guide to EOS smart contract security best practices
Stars: ✭ 371 (+1179.31%)
Mutual labels:  smart-contracts, eosio
Eos Java Rpc Wrapper
Stars: ✭ 162 (+458.62%)
Mutual labels:  smart-contracts, eos
Eos Contract
Tutorial on writing smart contracts on EOS EOS智能合约教程,从零开始学习EOS智能合约, DApp安全漏洞(security)及攻击实践(EOS Contract)(Powered by Itleaks)
Stars: ✭ 163 (+462.07%)
Mutual labels:  smart-contracts, eos
Eostracker
🗄EOS Tracker: Real time block explorer for EOS Blockchain
Stars: ✭ 166 (+472.41%)
Mutual labels:  eos, eosio
Awesome Eos
A curated list of EOS Ecosystem by SuperONE.
Stars: ✭ 160 (+451.72%)
Mutual labels:  eos, eosio
Awesome Eos
A curated list of awesome EOS frameworks, libraries, software and resources.
Stars: ✭ 181 (+524.14%)
Mutual labels:  eos, eosio
Advanced Eos Examples
EOS Smart Contract Development Examples
Stars: ✭ 146 (+403.45%)
Mutual labels:  eos, eosio
permissions test
An EOSIO smart contract for testing the permission system
Stars: ✭ 12 (-58.62%)
Mutual labels:  smart-contracts, eosio
Eosc
Cross-platform EOSIO command-line swiss-army-knife (EOS, BOS, Telos, Worbli, etc.)
Stars: ✭ 128 (+341.38%)
Mutual labels:  eos, eosio
Everipedia
🔗 The Everipedia Network protocol
Stars: ✭ 138 (+375.86%)
Mutual labels:  eos, eosio
Eosio.contracts
Smart contracts that provide some of the basic functions of the EOSIO blockchain
Stars: ✭ 282 (+872.41%)
Mutual labels:  smart-contracts, eosio
Eosfactory
Python-based EOS smart-contract development & testing framework
Stars: ✭ 247 (+751.72%)
Mutual labels:  smart-contracts, eos

README

Overview

eosgo-client is a simple Go/Golang wrapper for EOS blockchain (https://eos.io).

It wraps the nodeos RPC API and will offer a high level set of API to simplify the development on top of EOS.

Releases

Current features

Chain API (see rpc/chain.go)

  • get_info
  • get_block
  • get_account
  • get_code
  • get_table_rows
  • abi_json_to_bin
  • abi_bin_to_json
  • push_transaction
  • push_transactions
  • get_required_keys

Wallet API (see rpc/wallet.go)

  • wallet_create
  • wallet_open
  • wallet_lock
  • wallet_lock_all
  • wallet_import_key
  • wallet_list
  • wallet_list_keys
  • wallet_get_public_keys
  • wallet_set_timeout
  • wallet_sign_trx

EOSIO contracts (see rpc/contract.go)

  • newaccount

How to start

Configure your own conf file (for exemple test.conf) based on default.conf one with

    "NODE_PRODUCER_NAME":"eosio",               // see eosio/config.ini file, default is eosio
    "NODE_PUB_KEY":"KEY",                       // see eosio/config.ini file,
    "ENV_EOS_SRC_PATH":"YOURPATH/eos",		    // path to your EOS source folder
    "ENV_EOSGO_PATH":"YOURPATH/eosgo-client",   // path to this eosgo-client project
    "API_PORT": 8888,                           // nodeos PORT
    "API_URL": "localhost",                     // nodeos URL
    "API_METHOD": "http",                       // https or https
    "LOGGING_MODE": "STDOUT",                   // STDOUT or SYSLOG
    "LOGGING_LEVEL": "debug",                   // debug, info or error
    "WALLET_NAME":"NAME",                       // your wallet name
    "WALLET_PRIV_KEY":"KEY"                     // your wallet private key
    "TRANSACTION_EXPIRATION_DELAY":30           // default 30 seconds

Also, you have to create 2 environment vars in order to load your conf file (see default.conf), in your system:

export EOSGO_PATH=/your_path/eosgo-client/.
export EOSGO_CONF=default

or for your IDE (here for a Goland project):

EOSGO_PATH=.;EOSGO_CONF=test

Then, for example of uses, have a look to rpc/chain_test.go, rpc/wallet_test.go and rpc/contract_test.go.

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].