private key to public key generation bitcoin vb.net gives unknown error

I’m trying to use secp256k1 eliptic curve to get the public key from private key but it gives me an unknown error error Private Sub Button13_Click(sender As Object, e As EventArgs) Handles Button13.Click Dim private_key = “68040878110175628235481263019639686” ‘public key should be Nr6MbFUfMovKCX4vd5YpQnRYsN4rq6pNPEEBKmicAEwwuYLpJrt5LsRvfvR2G8pJ5rMchEMWDYJ7rdYGY7PjxHEa Dim public_key As String Using eliptic As New ECDsaCng() eliptic.HashAlgorithm = CngAlgorithm.ECDsaP256 Dim…

Deployed contract address is getting undefined after few days on private network

I have a private blockchain where I am able to deploy my smart contracts successfully and then I am getting the address of my smart contract which I am storing on my relational db. In geth console when I am trying to access contract method using following code deployedContract = eth.contract(smart_contract_abi).at(contract_address) deployedContract.myMethod() It’s working fine…