Pages:
Author

Topic: [ANN] Krypton, KR - BaaS Corp & Open Source, Public Blockchain for Business/IoT - page 26. (Read 167834 times)

hero member
Activity: 694
Merit: 500
Good morning, Krypton!

Is everyone ready for the first smart contract?

I've had several coin developers coming to me asking if I could help them create their own coin. Well, I have a better solution for them, one that benefits Krypton also. That solution is to create a side chain of KR, in essence, a token or colored coin for them. Here's the smart contract to do this:

Code:
contract tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData); }

contract MyToken {
    /* Public variables of the token */
    string public standard = 'Token 0.1';
    string public name;
    string public symbol;
    uint8 public decimals;
    uint256 public totalSupply;

    /* This creates an array with all balances */
    mapping (address => uint256) public balanceOf;
    mapping (address => mapping (address => uint256)) public allowance;

    /* This generates a public event on the blockchain that will notify clients */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /* Initializes contract with initial supply tokens to the creator of the contract */
    function MyToken(
        uint256 initialSupply,
        string tokenName,
        uint8 decimalUnits,
        string tokenSymbol
        ) {
        balanceOf[msg.sender] = initialSupply;              // Give the creator all initial tokens
        totalSupply = initialSupply;                        // Update total supply
        name = tokenName;                                   // Set the name for display purposes
        symbol = tokenSymbol;                               // Set the symbol for display purposes
        decimals = decimalUnits;                            // Amount of decimals for display purposes
        msg.sender.send(msg.value);                         // Send back any ether sent accidentally
    }

    /* Send coins */
    function transfer(address _to, uint256 _value) {
        if (balanceOf[msg.sender] < _value) throw;           // Check if the sender has enough
        if (balanceOf[_to] + _value < balanceOf[_to]) throw; // Check for overflows
        balanceOf[msg.sender] -= _value;                     // Subtract from the sender
        balanceOf[_to] += _value;                            // Add the same to the recipient
        Transfer(msg.sender, _to, _value);                   // Notify anyone listening that this transfer took place
    }

    /* Allow another contract to spend some tokens in your behalf */
    function approveAndCall(address _spender, uint256 _value, bytes _extraData)
        returns (bool success) {
        allowance[msg.sender][_spender] = _value;
        tokenRecipient spender = tokenRecipient(_spender);
        spender.receiveApproval(msg.sender, _value, this, _extraData);
        return true;
    }

    /* A contract attempts to get the coins */
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {
        if (balanceOf[_from] < _value) throw;                 // Check if the sender has enough
        if (balanceOf[_to] + _value < balanceOf[_to]) throw;  // Check for overflows
        if (_value > allowance[_from][msg.sender]) throw;   // Check allowance
        balanceOf[_from] -= _value;                          // Subtract from the sender
        balanceOf[_to] += _value;                            // Add the same to the recipient
        allowance[_from][msg.sender] -= _value;
        Transfer(_from, _to, _value);
        return true;
    }

    /* This unnamed function is called whenever someone tries to send ether to it */
    function () {
        throw;     // Prevents accidental sending of KR
    }
}


The only difference in how KR works from ETH at this time is this:

KR contracts must be deployed from the command line.

There are Krypton notes in the document, Beginning Solidity Development, that explain how to compile and deploy contracts.

https://docs.google.com/document/d/1Xn1frVpyjBJI0KCJt94Nok_meQY0o3Xd6yZUxSE-gUM/edit#heading=h.p65zjxf2oav4


Here is the original documentation from ETH: https://www.ethereum.org/token

###

All of the above is in this Google document:

https://docs.google.com/document/d/1_P9YRcxAXopotvlY_ruYueyNsvpGOKYpu-U_EFp445U/edit?usp=sharing

Any developers now wanting to create their own coin can easily do this right now. If you need assistance, shinohai is available to help you for a small fee. He can be reached on irc freenode #Kryptoncoin. You can also ping shinohai through Krypton's slack. http://slack.krypton.rocks .

Enjoy, people!

And don't forget to re-tweet about it! Wink Please.

https://twitter.com/covertress/status/762984989084581888



Good morning, Krypton!

We already have a first coin project that is being added to the KR blockchain (that we know of.) Wink

No one is required to inform me when they want to use this smart contract to create their own coin but, it would be nice if you did and introduced your project here.

In addition, dear developers, if you do create your own KR-flavored coin, I will offer you a subdomain name of Krypton.Rocks in order to help promote your project. Example: www.YourCoin.Krypton.Rocks

If you're interested, please drop by Krypton's slack and post about your project in the #development room. We in the Krypton Community would all be interested to learn more about your project and/or offer advice on coin creation.

Hope to see you in slack!

http://slack.krypton.rocks
newbie
Activity: 32
Merit: 0
So I mined some blocks with a Ubuntu setup and I am having problems accessing the wallet.
I am doing the following and cannot seem to get it to work and was hoping someone could shed some light on it:

./gkr attach

It shows the Coinbase etc as I would expect.  Then I do the usual things like the following and get errors:

gkr.coinbase gives me gkr is not defined

or

gkr.getBalance('OxMyWalletAddy') which also yields gkr is not defined

Any help would be appreciated

modules: admin:1.0 db:1.0 debug:1.0 kr:1.0 miner:1.0 net:1.0 personal:1.0 shh:1.0 txpool:1.0 web3:1.0
It's kr not gkr, so:
Code:
kr;
kr.coinbase;
kr.accounts;
web3.fromWei(kr.getBalance(kr.coinbase), "krypton");
legendary
Activity: 980
Merit: 1001
aka "whocares"
So I mined some blocks with a Ubuntu setup and I am having problems accessing the wallet.
I am doing the following and cannot seem to get it to work and was hoping someone could shed some light on it:

./gkr attach

It shows the Coinbase etc as I would expect.  Then I do the usual things like the following and get errors:

gkr.coinbase gives me gkr is not defined

or

gkr.getBalance('OxMyWalletAddy') which also yields gkr is not defined

Any help would be appreciated
hero member
Activity: 694
Merit: 500
hero member
Activity: 694
Merit: 500


I just finished recording an AWESOME radio show with @Prints and @Lootz (in slack) from Core Radio!

The link will be posted ASAP... after a little sound quality editing!

Please stand by.  Cool

Meanwhile, why not join Krypton's slack to chat?

http://slack.krypton.rocks

Here it is, ladies and gentleman:

https://soundcloud.com/coremediaradio/krypton

covertress LIVE on Core Radio

Steph discusses crypto & Krypton w @Prints & @Lootz

https://soundcloud.com/coremediaradio/krypton

<3 .@covertress
hero member
Activity: 694
Merit: 500


I just finished recording an AWESOME radio show with @Prints and @Lootz (in slack) from Core Radio!

The link will be posted ASAP... after a little sound quality editing!

Please stand by.  Cool

Meanwhile, why not join Krypton's slack to chat?

http://slack.krypton.rocks

Here it is, ladies and gentleman:

https://soundcloud.com/coremediaradio/krypton
hero member
Activity: 1862
Merit: 590


I just finished recording an AWESOME radio show with @Prints and @Lootz (in slack) from Core Radio!

The link will be posted ASAP... after a little sound quality editing!

Please stand by.  Cool

Meanwhile, why not join Krypton's slack to chat?

http://slack.krypton.rocks

Well done covertress!

More great PR for Krypton, the word is finally get out to the people and more and more people out there are starting to know KR. I'm hoping some of my buy orders fill as I believe this is only a small set back in the price before it starts to go back up again. And who knows this time we could hit 0.50
hero member
Activity: 694
Merit: 500


I just finished recording an AWESOME radio show with @Prints and @Lootz (in slack) from Core Radio!

The link will be posted ASAP... after a little sound quality editing!

Please stand by.  Cool

Meanwhile, why not join Krypton's slack to chat?

http://slack.krypton.rocks
sr. member
Activity: 279
Merit: 250
no more power to hold price , and it is going slowly again back till swap price
hero member
Activity: 1204
Merit: 501
Radix-The Decentralized Finance Protocol
Awesome work! Great work guys I admire the project too. Congratulations Stephanie, no doubt Krypton will be a great currency> I made a request to Poloniex to add it too. Much request much interest. Let's show Poloniex that we want Krypton on theur exchange.
legendary
Activity: 1120
Merit: 1008
CryptoTalk.Org - Get Paid for every Post!
Wow, haven't checked krypton trading for few months and now it got skyrocketed but sad for me i sold majority of my KR holding at 5000 satoshi range. But whatever i have left in my hand, i will be holding them atleast till next year.
sr. member
Activity: 279
Merit: 250


Today's tweet to Poloniex employs a little Supergirl comic book humor to tell Poloniex about Krypton's Smart Contract that allows developers to create their own coin on the KR blockchain. Wink

Your retweets are appreciated. Smiley

https://twitter.com/covertress/status/764478501902749696

lol, it is already overbought for polo  Smiley
hero member
Activity: 694
Merit: 500


Today's tweet to Poloniex employs a little Supergirl comic book humor to tell Poloniex about Krypton's Smart Contract that allows developers to create their own coin on the KR blockchain. Wink

Your retweets are appreciated. Smiley

https://twitter.com/covertress/status/764478501902749696
hero member
Activity: 1862
Merit: 590


Krypton Officially Releases Block Explorer 2.0

created by jeffdoubleyou Cheesy

Krypton's domain, http://explorer.krypton.rocks, now points to this updated explorer.

Fantastic work, jeffdoubleyou!

Everyone, please show your appreciation by retweeting the news. Thank you! Cheesy

https://twitter.com/covertress/status/764140144261795840

I love the look of the new explorer and don't forget to let Coinmarket Cap know so they can update the KR listing.

Keep up the good work and I've also re-tweeted this.
hero member
Activity: 694
Merit: 500


I realize that today's "guerilla marketing" tweet to Poloniex is a little odd but,

this one is drawing FUD! Shocked Shocked Shocked Shocked

PAYDIRT!

Please do your worst and retweet it!  Wink Cheesy Grin Cool

https://twitter.com/covertress/status/764201051411087361
sr. member
Activity: 302
Merit: 251
Ego Sum Qui Sum
excellent work of all participants involved in the project! I wish good luck and a further successful development of krypton  Wink
hero member
Activity: 694
Merit: 500


Krypton Officially Releases Block Explorer 2.0

created by jeffdoubleyou Cheesy

Krypton's domain, http://explorer.krypton.rocks, now points to this updated explorer.

Fantastic work, jeffdoubleyou!

Everyone, please show your appreciation by retweeting the news. Thank you! Cheesy

https://twitter.com/covertress/status/764140144261795840
legendary
Activity: 2688
Merit: 1240
Hey all.

I have released a block explorer for Krypton as well as a pool, but the pool has just gotten started only myself mining right now.

Please let me know what you think.

www.kryptonchain.com

Explorer looks really cool ! Good work !
hero member
Activity: 694
Merit: 500


Thank you, http://kr.coinpool.biz/#/

for creating a $KR #mining pool

and adding your node to #Krypton's Network Stats!

~ ~ ~

Address : kr.coinpool.biz
GetWorkPort: 8899
StratumPort: 8998
Poolfee: 1 %
Payouts: All Rewards, TX-Fee payed due pool, runs every 2 hrs. when 0.5 KR reached
No registration needed

ethminer examples:

Stratum:
ethminer -S http://kr.coinpool.biz:8998 -O .:x -SP 1 --farm-recheck 200 -G(AMD) or -U (NVIDIA)
GetWork:
ethminer -F http://kr.coinpool.biz:8899// -p x --farm-recheck 200 -G(AMD) or -U (NVIDIA)


     I read your conversation with the 'Dood'...interesting. I like the limited number of coins (some got 'burned' too...can some new ones 'evolve'?)...but I think 10 000 000 would have been a nice round number. I like the graphics of the coin itself...can we do something about the typography of KRYPTON to jazz it up like the coin itself? Anyway, I like it...I'm not a huge miner...but expanding my operation...got 150 mh/s on this in China...plan on another rig in a few weeks to double the hashrate. In the meantime, I'll be mining to support the project. Great leadership Stephanie...Bittrex was a nice addition, now Poloniex needs climb onboard.

Thank you, Atomjuice!

Krypton's website is slowly adding news stories, like my interview with The Dood. I'm also placing them on my LinkedIn profile.

For a list of all Krypton links, including the latest news stories, I invite you to read my letter to Poloniex:

https://docs.google.com/document/d/1T3KMClAidCk6K6r4KJKWvRzwFeMy6Qrd67sf4Fnlfww/edit?usp=sharing

News stories are at the bottom of page 2.

Krypton only created ~2.669 millions KR coins at the end of its Crowd Funding Campaign. The rest, of the initial 10M premine were burned. You can see the burn address on Krypton's Block Explorer here:

http://explorer.krypton.rocks

Presently, there are fewer than 3 million KR in existence. http://totalkr.krypton.rocks This total is added to at a rate of 1 KR per minute, since KR is a proof-of-work blockchain. (1,440 KR per day. 525,600 KR per year.)

Here is some other news:

Since Krypton has begun to attract so much attention in China and Russia, I've created Chinese and Russian language rooms on Krypton's slack.

Click here for a self-invite and check them out, if you like:

http://slack.krypton.rocks

Thanks for your kind words and hope to chat with you in slack!

Pages:
Jump to: