gnubeard has joined #stellar-dev
TheSeven has quit [Ping timeout: 248 seconds]
TheSeven has joined #stellar-dev
gnubeard has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
de_henne_ has joined #stellar-dev
de_henne has quit [Ping timeout: 244 seconds]
stellar-slack has quit [Remote host closed the connection]
stellar-slack has joined #stellar-dev
gnubeard has joined #stellar-dev
gnubeard has quit [Ping timeout: 268 seconds]
<stellar-slack> <sacarlson> It appears to me that the testnet has been reset? it seems at least some of my testnet accounts have been zeroed
<stellar-slack> <sacarlson> I verified my software is still working on Live net. I went back to testnet and did a single transaction to an originaly active account from the Master account and now see it is still working but just reset
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
<stellar-slack> <bartek> @sacarlson: yes, it has been reset https://stellar-public.slack.com/archives/dev/p1460129424000320
acetakwas has joined #stellar-dev
acetakwas has quit [Ping timeout: 244 seconds]
acetakwas has joined #stellar-dev
acetakwas has quit [Ping timeout: 268 seconds]
<stellar-slack> <sacarlson> ok thanks for the verification @bartek
acetakwas has joined #stellar-dev
acetakwas has quit [Read error: Connection reset by peer]
<stellar-slack> <danielpauljones> can someone please give me an example of how to create transactions using the PaymentOperationBuilder using a new Asset, before I simply used Stellar.Generated.Asset _asset = Stellar.Asset.Native(); and then var _operation = new PaymentOperation.Builder(_keyReceive, _asset, _amount) .SetSourceAccount(_keySend) .Build();
<stellar-slack> <danielpauljones> A little confused as their is now a Asset_type and an Asset_code.
<stellar-slack> <danielpauljones> Just need an example for moving new asset from one account to another account.
<stellar-slack> <bartek> is it scala? ``` Transaction transaction = new Transaction.Builder(_keySend) .addOperation(_operation) .build(); ```
<stellar-slack> <bartek> more Java SDK examples can be found in tests: https://github.com/stellar/java-stellar-sdk/tree/master/src/test/java/org/stellar/sdk
<stellar-slack> <danielpauljones> @bartek: I believe so Stellar.Transaction _transaction = new Stellar.Transaction.Builder(_masterSend) .AddOperation(_operation) .Build();
acetakwas has joined #stellar-dev
<stellar-slack> <bartek> maybe, I don't know what are your variables. docs for transaction builder can be found here: https://stellar.github.io/java-stellar-sdk/org/stellar/sdk/Transaction.Builder.html
<stellar-slack> <danielpauljones> I think I just need to correct way to define the _asset to pass to the PaymentOperationBuilder when the asset is credit_alphanum12 instead of the native currency
<stellar-slack> <bartek> `Asset.createNonNativeAsset` will create the asset object: https://stellar.github.io/java-stellar-sdk/org/stellar/sdk/Asset.html#createNonNativeAsset(java.lang.String,%20org.stellar.sdk.KeyPair)
<stellar-slack> <danielpauljones> The asset already exists. I cannot seem to figure out how to assign the credit_alphanum12. Do I use the createNonNativeAsset to define it before passing to to the PaymentOperationBuilder?
<stellar-slack> <bartek> in java it would be something like this: ``` Operation paymentOperation = new PaymentOperation.Builder( destination, Asset.createNonNativeAsset("ASSETCODE", issuer), amount ).build(); Transaction transaction = new Transaction.Builder(sourceAccount) .addOperation(paymentOperation) .build(); ``` `createNonNativeAsset` is a helper that will create an asset object based on th
<stellar-slack> <danielpauljones> OK, @bartek Thanks.
acetakwas has quit [Ping timeout: 276 seconds]
gnubeard has joined #stellar-dev
gnubeard has quit [Ping timeout: 268 seconds]
gnubeard has joined #stellar-dev
gnubeard has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gnubeard has joined #stellar-dev
gnubeard has quit [Read error: Connection reset by peer]
doppelgnubeard has joined #stellar-dev
doppelgnubeard has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gnubeard has joined #stellar-dev
loglaunch has quit [Ping timeout: 260 seconds]
loglaunch has joined #stellar-dev
gnubeard has quit [Ping timeout: 250 seconds]