问题描述
我对Azure BlockChain世界非常陌生.我从https://github.com/Azure-Samples/blockchain/blob/master/blockchain-workbench/application-and-smart-contract-samples/hello-blockchain/readme.md开始使用示例.都是坚固性代码和json 用于工作流实施的模式[通过VS Code Solidity插件].
I am very new to Azure BlockChain world. I started off with the sample at https://github.com/Azure-Samples/blockchain/blob/master/blockchain-workbench/application-and-smart-contract-samples/hello-blockchain/readme.md. It is all solidity code, and json schema for workflow implementation [via VS Code Solidity plugin].
问题
===========
===========
如何调试我的代码,并验证我编写了正确的代码?
How can I debug my code, and validate that i wrote correct code?
如何调试Azure BlockChain env的代码?
How can I debug my code that is Azure BlockChain env?
请帮助.如果不是正确的论坛,还有其他论坛可以提出疑问并获得帮助吗?由于我完全是我,所以我需要一些帮助才能使事情顺利进行.
Please help. Are there any other forums where I can raise my query and get help, if this is not the correct one? Since I am completely, I need a bit of hand holding to get things rolling.
这有点紧急.有人可以帮忙吗?
It's a bit urgent. Can someone please help?
推荐答案
松露可能是开始构建和调试智能合约的好地方.所有工作台样本也以松露盒的形式提供,以作为起点.然后,您可以将已完成的合同上载到Azure区块链工作台. 有关更多详细信息,请参见以下博客文章. https://azure.microsoft.com/en-us/blog/sweet-updates-about-truffle-on-azure/
Truffle can be a great place to get started with building and debugging a Smart Contract. All of the Workbench samples are also provided as Truffle boxes to act as a starting point. Then, you can upload your completed contract to Azure Blockchain Workbench. Please see the following blog post for more details. https://azure.microsoft.com/en-us/blog/sweet-updates-about-truffle-on-azure/
或者,您可以直接使用Azure Blockchain Workbench迭代智能合约,在这里您可以使用我们的Web界面和API轻松测试智能合约.
Alternatively, you can iterate on your smart contract using Azure Blockchain Workbench directly where you can easily test your smart contract with our web interface and API.
这篇关于如何在BlockChain中调试Solidity代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!