Skip to content

Golang Monero-like daemon and wallet RPC API wrapper

Notifications You must be signed in to change notification settings

dexter3k/go-monero

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MONERO-API

Note

This project is in slow development for my personal projects. Examples might or might not work. You can always open an issue in case of something or try contacting me in Telegram: @Dexter3000

For exmple daemon:

daemon := monero.NewDaemonClient("http://127.0.0.1:18081/json_rpc")
blockCount, err := daemon.GetBlockCount()
if err != nil {
    fmt.Println(err)
     return
} 
fmt.Println("Count:", blockCount)

For exmple wallet:

wallet := monero.NewWalletClient("http://127.0.0.1:18082/json_rpc", "user", "pass")
balance, err := wallet.GetBalance()
if err != nil {
	fmt.Println(err)
	return
}
fmt.Println("balance:", balance)

About

Golang Monero-like daemon and wallet RPC API wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%