tss-lib icon indicating copy to clipboard operation
tss-lib copied to clipboard

undefined: s256k1

Open srw opened this issue 2 years ago • 3 comments

I follow the Readme instructions and a simple code like the one below failed with "undefined: s256k1"

package main

import "fmt" import "github.com/binance-chain/tss-lib/tss"

func main() { tss.SetCurve(s256k1.S256()) }

srw avatar Jun 08 '22 16:06 srw

The README is outdated

tss.SetCurve has been marked as deprecated

you should pass the curve when calling tss.NewParameters

check #185

typestring avatar Jun 08 '22 19:06 typestring

Thanks for the update!

yycen avatar Jun 19 '22 11:06 yycen

import ( s256k1 "github.com/btcsuite/btcd/btcec" )

catiga avatar Jul 19 '22 09:07 catiga