Show Posts - ifinta singapore
Please login or register.

Login with username, password and session length
Advanced search  


Latest Stable Nxt Client: Nxt 1.12.2

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - ifinta

Pages: [1]
Please see: https://nxtforum.org/index.php?topic=13102.msg229430#msg229430

We, a group of Hungarian people, would like to use nxtforum.org and NXT - against nuclear hazards, ...
Can somebody help us?

Old Nxt Promotion Topics / a picture
« on: January 22, 2017, 03:51:04 pm »
Any opinion?
Feel free to use it :)

Ich suche eine Kontakt in Bereich "nuclear hasards" in deutsche Gebieten. Ich möchte was tun, basierend auf NXT, gegen "nuclear hasards", Atomkraftwerke, Atomwaffen, u.s.w... Eine englische Erklärung, Beispiel ist hier:


I would like to establish a club:
The NXT Nuclear Regulatory Commission

start - From today
target - To show how many people are actually active in the crypto world against nuclear hazards. Act politically in different countries for this target also. i.e.: Act to dismantle the nuclear weapons.
membership fee - You should pay some NXT weekly to this NXT account: NXT-KEBX-4722-NRWF-CBWPF Join our projects - and you is a member. You can vary your payments. If you pay at least 1 NXT - you wish remain a member in the whole calender month - if you pay at least 10 NXT then you wish remain member in the whole calender year.
rules - This club remain open for everybody to join, and you can leave it if you wish. If you leaved the club you can join later. All payments support will be used for the target of this club. We defined our 'Money' - Charm on the Byteball Ledger - please use Charm, if you would like to give us a donation in the future. More about Charm: https://bitcointalk.org/index.php?topic=4392525 ... We accepting NXT also - on the NXT address above (NXT-KEBX-4722-NRWF-CBWPF), but we changing our Ledger soon.

Why is NXT a good tool for this club?
- NXT is ready to use
- NXT is well tested
- NXT has a great community
- NXT has great programmers
- NXT is a distibuted peer to peer system
- anonymous
- international
- NXT has a messaging system with encryption
- NXT has a voting system
- NXT has a value
- NXT is now cheap enough

NXT poll: https://nxtportal.org/polls/17647596660647639058

What do you think about the NXT club:
The NXT Nuclear Regulatory Commission
For more see my post in https://nxtforum.org/news-and-announcements/(ann)-the-nxt-nuclear-regulatory-commission/
Please select only one option.

- We have http://www.nrc.gov/ . US has an enough force, through nuclear weapons, to act, if needed.
- We needs our life and a biological healthy earth. I will act against nuclear hazards.
- We can't do anything against nuclear hazards.
- Nuclear hazards are needed for our economy, so we must accept it.
- We living well with nuclear hazards.
- I don't understand the post.
- This is a scam only.

I made a mistake in the polll: I typed "hasard" instead of "hazard"... Sorry.
You can read more about this new crowdsale type: https://bitcointalk.org/index.php?topic=1694015.0

Alternate Cryptocurrencies / News about Horizon
« on: December 03, 2015, 10:20:31 am »

Voting System / Perl script to reward of voting...
« on: October 11, 2015, 10:03:05 pm »
GIT repository: https://github.com/ifinta/rewardPollVotes

Code: [Select]
#!/usr/bin/perl -w

use strict;
use JSON -support_by_pp;
use JSON::RPC::Client;
use warnings;
use LWP::Simple;
use LWP::UserAgent;
use Data::Dumper;
use Term::ReadKey;
use Scalar::Util qw(looks_like_number);

$| = 1;

my $port = '7876';

my $lwp = LWP::UserAgent->new;
$lwp->agent("perl $]");
my $json = new JSON;

my $client = new JSON::RPC::Client;

print 'Poll id?:';
my $poll = <STDIN>;

my $pollinfo = getPoll($poll);

print 'Account RS?:';
my $account = <STDIN>;

ReadMode ('noecho');
print 'Account secret phrase?:';
my $secret = <STDIN>;
print "\n";
ReadMode ('restore');

print 'Asset id (for NXT type "NXT")?:';
my $asset = <STDIN>;

my $assetinfo = getAsset($asset);

print 'Amount?:';
my $menge = <STDIN>;

print 'How much confirmation of vote do you suggest till reward? (Enter a number - max. 720 - or press enter for not checking it):';
my $confirmations = <STDIN>;

if(looks_like_number($confirmations) && $confirmations > 720)
$confirmations = 720;

my $mengeqnt;

print "\n\n\n";
print 'Poll :'.$pollinfo->{name}."\n";
print 'Account RS :'.$account."\n";
if($asset eq 'NXT')
print 'Transmitting '.$menge." NXT pro vote...\n";
$mengeqnt = (10**8)*$menge;
print "amount in NQT:".$mengeqnt."\n";
print 'Transmitting '.$menge.' '.$assetinfo->{name}." pro vote...\n";
$mengeqnt = (10**($assetinfo->{decimals}))*$menge;
print "amount in QNT:".$mengeqnt."\n";

print 'Rewards will be sent only after '.$confirmations." confirmation of vote.\n" ;
print "Rewards will be sent as soon as possible after voting. Confirmations of vote will be not checked.\n";

print "\nOk?[Y/n]:";
my $feedback = <STDIN>;

die 'Aborted...' unless $feedback eq '' || $feedback eq 'Y' || $feedback eq 'y' || $feedback eq 'yes';

while (1) {
print "The poll has been finished...\n";
  $pollinfo = getPoll($poll);

sub doit
my $pollvotes = getPollVotes($poll);

#print Dumper($pollvotes);

# first: get unconfirmed txs.
# second: get confirmed txs.
# so there is no lost transactions, perhaps doubling...
my $unconftxs = getAllUnconfTx($account);

#print Dumper($unconftxs);

my $transactions = getAllTxWithMessage($account);

#print Dumper($transactions);

my @voters = getVotersWithoutReward($transactions, $unconftxs, $pollvotes);
my $voter;

foreach $voter (@voters)
my $sendresp = sendReward($voter, $mengeqnt, 'Thank you for voting... (Poll:'.$poll.'; '.$pollinfo->{name}.')');
print $voter." - reward sent...\n";
#print Dumper($sendresp);
  # catch crashes:
    print " ERR $@\n";

sub getJSON {
        my ($raw) = shift;

        my $res = $json->allow_nonref->utf8->relaxed->escape_slash->loose->allow_singlequote->allow_barekey->decode($raw->content);

        return $res;

sub getPollVotes {
my ($pl) = shift;
        my $req = HTTP::Request->new(GET => 'http://localhost:'.$port.'/nxt?requestType=getPollVotes&includeWeights=true&poll='.$pl);
        my $res = $lwp->request($req);

        my $json_res = getJSON($res);

return $json_res;

sub getPoll {
my ($pl) = shift;
        my $req = HTTP::Request->new(GET => 'http://localhost:'.$port.'/nxt?requestType=getPoll&poll='.$pl);
        my $res = $lwp->request($req);

        my $json_res = getJSON($res);

return $json_res;

sub getAsset {
my ($ast) = shift;
        my $req = HTTP::Request->new(GET => 'http://localhost:'.$port.'/nxt?requestType=getAsset&asset='.$ast);
        my $res = $lwp->request($req);

        my $json_res = getJSON($res);

return $json_res;

sub getAllTxWithMessage {
my ($acc) = shift;
        my $req = HTTP::Request->new(GET => 'http://localhost:'.$port.'/nxt?requestType=getBlockchainTransactions&withMessage=true&account='.$acc);
        my $res = $lwp->request($req);

        my $json_res = getJSON($res);

return $json_res;

sub getAllUnconfTx {
my ($acc) = shift;
        my $req = HTTP::Request->new(GET => 'http://localhost:'.$port.'/nxt?requestType=getUnconfirmedTransactions&account='.$acc);
        my $res = $lwp->request($req);

        my $json_res = getJSON($res);

return $json_res;

sub sendReward {
        my ($rec, $men, $msg) = @_;

        my $req = HTTP::Request->new(POST => 'http://localhost:'.$port.'/nxt');

if($asset eq 'NXT')

        my $res = $lwp->request($req);

#print Dumper($res);

        die "Request failed!" unless $res->is_success;

        my $json_res = getJSON($res);

#print Dumper($json_res);

        return $json_res;

sub getVotersWithoutReward {
my ($txs, $utxs, $plvts) = @_;

my @allvtrs = getAllVoters($plvts);
my @alltxsr = getAllTxsRecipient($txs, $utxs);

my %in_alltxsr = map {$_ => 1} @alltxsr;
my @vts  = grep {not $in_alltxsr{$_}} @allvtrs;

return @vts;

sub getTransaction {
my ($id) = shift;
        my $req = HTTP::Request->new(GET => 'http://localhost:'.$port.'/nxt?requestType=getTransaction&transaction='.$id);
        my $res = $lwp->request($req);

        my $json_res = getJSON($res);

return $json_res;

sub checkTransaction {
my ($tx) = shift;
my $res = 1;

if(looks_like_number($confirmations) && $tx->{confirmations} < $confirmations)
$res = 0;

return $res;

sub checkVote {
my ($vt) = shift;
my $res = 0;

#print Dumper($vt);

$res = 1;
my $wg = $vt->{weight};
my $tx = getTransaction($vt->{transaction});

#print Dumper($tx);

if(defined $wg)
if($wg > 0)
$res = checkTransaction($tx);

# "old" transactionen filtern (I hope - it was rewarded soon)
my $con = looks_like_number($confirmations) ? $confirmations : 0;
my $txcon = $tx->{confirmations};
if((!defined $txcon) || $txcon > $con + 720)
$res = 0;

return $res;

sub getAllVoters {
my ($vtrs) = shift;
my $vtr;
my @res;

my $tmp = $vtrs->{votes};

foreach $vtr (@$tmp)
push(@res, $vtr->{voterRS});

return @res;

sub getAllRecipients {
my ($tmp, $res) = @_;
my $tx;

foreach $tx (@$tmp)
my $msg = $tx->{attachment}->{message};

if(defined $msg && $msg =~ /.*Poll:(.*); / && ($1 eq $poll))
push(@{$res}, $tx->{recipientRS});

sub getAllTxsRecipient {
my ($txsr, $utxsr) = @_;
my @res;

my $tmp = $txsr->{transactions};
getAllRecipients($tmp, \@res);

$tmp = $utxsr->{unconfirmedTransactions};
getAllRecipients($tmp, \@res);

# do not reward the vote of poll creator and rewarding account...
push(@res, $account);
push(@res, $pollinfo->{accountRS});

return @res;

 - Check the code.
 - Install perl with modules needed.
 - Start script.
 - Type inputs (Poll ID, Rewarding account RS, Rewarding account secret phrase, NXT or asset ID, Amount, Minimum confirmations = n).
 - Check the values.
 - Press enter if you want to continue...

If somebody voting (after n, maximum 720 confirmations) the reward will be sent...

Example (I restarted it...):
Code: [Select]
ifinta@debian-imx6:~$ ./rewardPollVotes
Poll id?:13744876112647352488
Account RS?:NXT-7MYJ-SUQ8-H782-DPHZ9
Account secret phrase?:
Asset id (for NXT type "NXT")?:649027262925057466
How much confirmation of vote do you suggest till reward? (Enter a number - max. 720 - or press enter for not checking it):

Poll :Family budget in a month.
Account RS :NXT-7MYJ-SUQ8-H782-DPHZ9
Transmitting 0.01 FamilyFund pro vote...
amount in QNT:100
Rewards will be sent as soon as possible after voting. Confirmations of vote will be not checked.

NXT-WJYE-LXZQ-7LAQ-GHCNJ - reward sent...

This example just running online - You can try it :)

Alias System / Alias as a check
« on: July 03, 2015, 08:27:04 pm »
An alias is very similar to a bank check.

- It has an issuer.
- It has an actual owner.
- You can transfer it.
- You can sell and buy it.

My proposal is:


<n> is a NXT account's ID (numerical, not RS). This account issued this alias. If not, does not matter (it is a scam).
<sn> a randomly or incrementally serial number
<currency> a currency
<value> the value of the check

for example:


It represents an USD100 check.
The Issuer expresses its ability and its willingness to transfer 100 USD to somebody's real bank account.

You can buy it for NXT for example. Then you can transfer it to another person. It will represent a claim about 100 USD for the Issuer.
If somebody wants claim the value from the Issuer, then the Issuer will transfer 100 USD her/him against the check.

If the Issuer does not transfer - the actual owner can create an alias-sell-order in NXT system with a NXT value and the Issuer as a buyer - everybody can see that the Issuer does not pay - so the Issuer of this check is a scammer. (check is overdrafted)

Can you please comment...

Assets Board / [ANN] IspeakXX
« on: June 01, 2015, 11:01:25 pm »
Issuer Account:


Assets + ID's:

IspeakEN - 14319046526130976103
IspeakFR - 13164989364371330737
IspeakDE - 5054217304674166566
IspeakHU - 3904430164972563757
IspeakES - 12686665223595476266
IspeakZH - 14038671919704470554
IspeakRU - 11376077376020726149
IspeakEL - 3879169338770206916

These assets represent that the owner speaks that language (english, french, german, hungarian, spanish, chinese, russian, greek). The more assets you have, the better is your language knowledge. 1 shares means mother language level. 0.01 shares means - I using a translator, i.e.: from google, facebook, a friend...

No dividend.

Please love, support and use it...

For a sample browser of the BestMusic asset please see the myFavourite alias...


Asset ID:


Blockchain based content publishing mixed with a gambling.


There are no dividends. Assetholders are simple content publishers. They pay some money for some place in the web.

Gambling, Prize:

The Publishers of the maximal top 10 really music site (Must be clean. Not a scam, malware, ... Checking is performed by the Issuer.) participate weekly in a drawing.
The prize will be shared equally among the maximum 10 winners. The prize is 40% of the weekly profit in NXT earned by the issuer.
The weekly deadline for the drawing is saturday 15:00 UTC. Publishing of the winners and payments will be implemented til the next day 15:00 UTC.

The first drawing will be performed on the first saturday 15:00 UTC in July this Year (2015). Up to the first drawing is the price of BestMusic asset is 1 NXT. The full revenue until this day will be calculated as a profit in the first drawing.

Weekly profit:

The Issuer sells and buys the BestMusic asset. The weekly profit in NXT calculated from the weekly revenue minus the fees. 40% of the profit is used to make new buy positions on the BestMusic asset. 20% of the profit will support the development and reward the idea.

Alias System / Alias as an attribute or feature
« on: April 18, 2015, 09:05:13 pm »
I will use the Alias system to store attributes or features of an account or its owner.

The key of such an alias should be:


<n> is a NXT account's ID (numerical, not RS). This account owns this alias. If not, does not matter.
<attr> is a name of an attribute

for example:




This alias should contain an URL to the favourite music of the account's owner.

Can you please comment...

To see (or maybe try) it in work, please read:

Introduce Yourself / Hello!
« on: April 18, 2015, 10:11:33 am »
class Hello {
    public static void main(String[] args) {   
        System.out.println("Hello NXT Community!");
        System.out.println("I am an engineer.");
        System.out.println("I like crypto's, C, C++ and Java.");
        System.out.println("I find the code of NXT clear and very well structured.");
        System.out.println("I have some ideas with NXT.");
        System.out.println("Thank you for NXT, the community and the attention...");

Pages: [1]