diff --git a/neoutils/mobile_test.go b/neoutils/mobile_test.go index 041eac7..e2046e2 100644 --- a/neoutils/mobile_test.go +++ b/neoutils/mobile_test.go @@ -9,14 +9,14 @@ import ( ) func TestMintTokensFromMobile(t *testing.T) { - scriptHash := "0xf820184470f1a5f38fa4ecc8db746336b371bda5" + scriptHash := "7c1de0a1fba67cbddbfea27aed370ff2ff35e8b2" //both of these are whitelisted //ALL PRIVATE NET TEST ADDRESSES // wif := "KxDgvEKzgSBPPfuVfw67oPQBSjidEiqTHURKSDL1R7yGaGYAeYnr" // contract owner AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y - // wif := "L2W3eBvPYMUaxDZGEb395HZf26tLPZgU5qN351HpyVSAG1DWgDtx" // AQmq2yU7DupE4VddmEoweKiJFyGhAAEZeH - wif := "L5h6cTh45egotcxFZ2rkF1gv7rLxx9rScfuja9kEVEE9mEj9Uwtv" //AQaZPqcv9Kg2x1eSrF8UBYXLK4WQoTSLH5 + wif := "L2W3eBvPYMUaxDZGEb395HZf26tLPZgU5qN351HpyVSAG1DWgDtx" // AQmq2yU7DupE4VddmEoweKiJFyGhAAEZeH + // wif := "L5h6cTh45egotcxFZ2rkF1gv7rLxx9rScfuja9kEVEE9mEj9Uwtv" //AQaZPqcv9Kg2x1eSrF8UBYXLK4WQoTSLH5 //this addresss is not whitelisted // wif := "L5gmcoaetU6YGSzg4wNqvKBEEAfwCAxWseuL3pxvLvEMZB9WyUYp" wallet, _ := neoutils.GenerateFromWIF(wif) @@ -26,7 +26,8 @@ func TestMintTokensFromMobile(t *testing.T) { // gas := string(smartcontract.GAS) amount := float64(2) remark := "o3x" - utxoEndpoint := "http://localhost:5000/" + // utxoEndpoint := "http://localhost:5000/" + utxoEndpoint := "http://testnet-api.wallet.cityofzion.io/" networkFeeAmountInGAS := float64(0.0011) tx, err := neoutils.MintTokensRawTransactionMobile(utxoEndpoint, scriptHash, wif, neo, amount, remark, networkFeeAmountInGAS) diff --git a/neoutils/neorpc/rpc.go b/neoutils/neorpc/rpc.go index d4a4597..f4aa34f 100644 --- a/neoutils/neorpc/rpc.go +++ b/neoutils/neorpc/rpc.go @@ -7,7 +7,7 @@ import ( "net/http" "net/url" - "github.com/apisit/btckeygenie/btckey" + "github.com/o3labs/neo-utils/neoutils/btckey" ) type NEORPCInterface interface {