Smart Contract Example - HelloWorld
using Neo.SmartContract.Framework.Services.Neo;
namespace Neo.SmartContract
{
public class HelloWorld : Framework.SmartContract
{
public static void Main()
{
Storage.Put(Storage.CurrentContext, "Hello", "World");
}
}
}
The Storage class is a static class that manipulates the private contract storage. The Storage.Put()
method allows you to store data in the private storage area in key-value format. For details, refer to Storage .
Please refer to Github for complete examples.