Hello,
The Vereum jelly will allow you to have your own coin rather than a contract. Your coin will not rely on any network allowing you to have 100% control over your coins created by the Vereum Jelly network. All Vereum VMC22 based coins have a modified code allowing the network to interlink with all the servers allowing you to make super fast payments and lower fees, this is called the Vereum mesh network nodes.
Vereum also lets you have your own brand and RPC user based authentication so you can get your own coin listed on any exchanger platform without compiling errors.
include_once("jelly.php");
define("API_KEY", "YOUR_API_KEY");
define("API_SECRET", "YOUR_API_SECRET");
$api_client = new JellyClient(API_KEY, API_SECRET);
$api_client->setCoin("DEMOCOIN");
$api_client->setMethod("get-balance");
$response = $api_client->process();
if($response["response_code"] != 200) {
exit($response["response_message"]);
} else {
$balance = $response["balance"];
echo $balance
}
The code above will echo your balance
include_once("jelly.php");
define("API_SECRET", "YOUR_API_SECRET");
$callback_url = "
https://site.com/IPN.php?user=2450";
$api_client = new JellyClient(API_KEY, API_SECRET);
$api_client->setCoin("DEMOCOIN");
$api_client->setField("callback_url", $callback_url);
$api_client->setMethod("generate-address");
$response = $api_client->process();
if($response["response_code"] != 200) {
exit($response["response_message"]);
} else {
$address = $response["address"];
$qr_code_url = $response["qr_code"];
}
The code above will output your address and QR code for your coin, how will it fetch my coin info you may ask? it's very simple, you must create a coin on the Vereum website then -> $api_client->setCoin("DEMOCOIN"); replace DEMO coin with your coin ABBREVIATION E.G, VRM, BTC, VMM.
We are still currently working on our API.
All API_KEYS & API_ SECRET will be avaiable soon on the Vereum website for each and every member.
Not only that Vereum will give you access to all your coins code so you can make modifications as you wish.
For example, the code below will allow you to add more and more servers to your coin allowing your fees to be lower and transactions faster!:
// DNS seeds
// Each pair gives a source name and a seed name.
// The first name is used as information source for addrman.
// The second name should resolve to a list of seed addresses.
static const char *strMainNetDNSSeed[][2] = {
{"159.65.160.20", "159.65.160.20"},
{"167.99.85.119", "167.99.85.179"},
{NULL, NULL}
};
static const char *strTestNetDNSSeed[][2] = {
{NULL, NULL}
};
void ThreadDNSAddressSeed()
{
static const char *(*strDNSSeed)[2] = fTestNet ? strTestNetDNSSeed : strMainNetDNSSeed;
int found = 0;
printf("Loading addresses from DNS seeds (could take a while)\n");
for (unsigned int seed_idx = 0; strDNSSeed[seed_idx][0] != NULL; seed_idx++) {
if (HaveNameProxy()) {
AddOneShot(strDNSSeed[seed_idx][1]);
} else {
vector
vaddr;
vector vAdd;
if (LookupHost(strDNSSeed[seed_idx][1], vaddr))
{
BOOST_FOREACH(CNetAddr& ip, vaddr)
{
int nOneDay = 24*3600;
CAddress addr = CAddress(CService(ip, GetDefaultPort()));
addr.nTime = GetTime() - 3*nOneDay - GetRand(4*nOneDay); // use a random age between 3 and 7 days old
vAdd.push_back(addr);
found++;
}
}
addrman.Add(vAdd, CNetAddr(strDNSSeed[seed_idx][0], true));
}
}
printf("%d addresses found from DNS seeds\n", found);
}
Don't worry if you don't understand code we have a GUI that will compile your coins for you.
If you have any question please use our live chat form and will get back to you within 1-2 hours.
https://vereum.io - PRE ICO SALE NOW LIVE: 6897983 coins sold out of 20M
Best Regards,
Vereum Staff