decred / atomicswap

On-chain atomic swaps for Decred and other cryptocurrencies.
https://blog.decred.org/2017/09/20/On-Chain-Atomic-Swaps/
ISC License
508 stars 231 forks source link

I'd like to use this as a library #87

Closed tanevanwifferen closed 6 years ago

tanevanwifferen commented 6 years ago

Hey there,

I would like to use this code in my own proejct, with a few changes that allows to use this code as a go plugin. I propose the following changes:

func getSettingsKeys() []string {}
func setSettings(settings map[string]string) err {}

settings would entail rpc connection details, or anything required for the plugin to run correctly.

Is this interesting for you too, or shall I fork the repo for myself?

jrick commented 6 years ago

I think you should fork it, since I don't really understand the proposed changes.

The Go plugin idea sounds useful. I'd like to see how that turns out.