I just have started to learn Smart Contract. I have to design front end in ASP.NET. Can I call Contract from it?
Asked
Active
Viewed 716 times
1
-
yes you can there is web3 libraries for that – Majd TL Jul 09 '20 at 14:46
1 Answers
1
The frontend interacts with smart contracts with a blockchain usually using web3.js and ethers.js. This is purely client-side code written in JavaScript.
On the backend side in C# you can use Nethereum.
A good starting point could be a Web3modal tutorial.
Mikko Ohtamaa
- 22,269
- 6
- 62
- 127
-
-
I checked Nethereum but I can't understand how to connect our uploaded contract or Deployed contract on local machine from .NET. Can anyone suggest me any good code or link? – Ravikant Ninave Jul 09 '20 at 08:21
-
I cannot, I do not do C# programming. I suggest you contact directly Nethereum community and ask help. – Mikko Ohtamaa Jul 09 '20 at 08:24
-
Can you suggest me any other forum where I can found discussion about SMART CONTRACT and .NET CORE – Ravikant Ninave Jul 09 '20 at 14:03
-
No, as I said I am ont a C# developer. I would recommend learning Python and JavaScript intestead. – Mikko Ohtamaa Jul 09 '20 at 14:17