Skip to content
Dmitry edited this page Oct 6, 2018 · 7 revisions

public class config {

public static String addressethnode(int node) {
    switch(node){
        case 1:
            return "http://IP ADDRESS MAIN NETWORK";
        case 2:
            return "http://IP ADDRESS TEST NETWORK";
        default:
                    return "http://IP ADDRESS DEFAULT NETWORK";
    }
}

public static String addresssmartcontract(int contract) {
    switch (contract){
        case 1:
            return "FIRST CONTRACT";
        default :
            return "0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7"; // Unicorn
    }
}

public static String passwordwallet() {
    return "";
}
Clone this wiki locally