Post
Topic
Board Mining (Altcoins)
Re: [Awesome Miner]- Powerful Windows GUI to manage and monitor up to 5000 miners
by
soothaa
on 03/01/2018, 20:05:45 UTC
Patrike, can you point me in the right direction? I'm trying to update a custom coin with the C# scripting interface and I am unsure how to save my updates back (or if It even functions like this)

Code:
public class ActionScript
{
private ContextProvider Context = ScriptManager.Context;


public bool Execute(List list)
{

Muncoin bob = new Muncoin();
bob.SetProperties("", 0, 0, 0);
return true;
}

}

public class Muncoin : ICoinStatProvider
{
public string coinShortName;
public double difficulty;
public double reward;
public double valueBtc;

public Muncoin()
{
}

public void SetProperties(string _coinShortName, double _difficulty, double _reward, double _valueBtc)
{
coinShortName = "MUN";
difficulty  = 10;
reward = 10;
valueBtc = 10;
}

}