NPCdApp Class

Neo Persistable Class

neo-persistibleclasses

NPCdApp Class

NPCdApp - NEO Persistable Class (NPC) Framework Version 0.1 Reference Implementation Author: Michael Herman @mwherman2000 [email protected] The NEO Persistable Class (NPC) framework enables efficient object-oriented smart contract development using C#.NEO, Visual Studio and the NEO Developer Tools to build distributed apps (dApps) on the NEO Blockchain. NPC Levels Supported ---------------------------------------------------------- NPC Level 1 Basic NPC Level 2 State-managed NPC Level 3 Persistable NPC Level 4 Collectable NPC Level 5 Extendible(future work) NPC Level 6 Authorized(future work) ---------------------------------------------------------- Main() Parameters: string operation, object[]args Neo-gui Contract Parameter Type: 0710 (string, array) Operation Parameter Values ---------------------------------------------------------- testall [nIterations] - NPC Level 1-2-3-4 test cases: Run all the tests sequentially. Log the results. test1 [no args] - Dump miscellaneous variables to the log test2 [no args] - NPC Level 1 test cases: Create 3 Points and a line. Add two Points. Log the results. test3 [no args] - NPC Level 2/3 test cases: Create 3 Points and test NPC Level 3 entity persistence. Log the results. tets4 [no args] - NPC Level 2/3 test cases: Test IsNull(), IsMissing() and IsExtended(). Log the results. test5 [no args] - NPC Level 4 test cases: Test NeoStorageKeys. Log the results. test6 [nIterations] - NPC Level 4 test cases: Test NeoStorageKeys. Log the results.
NCPdApp class Contains the Main() entry point for this dApp smart contract as well as one function for each test case (in addition to some helper methods)

Namespace:  NeoPersistableClass
Assembly:  NPCdApp (in NPCdApp.dll)

Syntax


public class NPCdApp : SmartContract
Public Class NPCdApp _
	Inherits SmartContract
public ref class NPCdApp : public SmartContract

Inheritance Hierarchy


Object
  SmartContract
    NeoPersistableClass..::..NPCdApp

See Also


[Neo.SmartContract.Framework.SmartContract]