<stellar-slack1>
<veerasarma> ok thanks i will use and try
<stellar-slack1>
<veerasarma> Unhandled rejection Error: Expects a int64 as a string. Got 820196 at Function.exports.Memo._createClass.id.value (/var/www/node_modules/stellar-base/lib/memo.js:91:29)
<stellar-slack1>
<veerasarma> i got the above error when run this
<stellar-slack1>
<veerasarma> var transaction = new StellarSdk.TransactionBuilder(account,{fee:100, memo: StellarSdk.Memo.id(820196)})
<stellar-slack1>
<veerasarma> it is correct or need to change anything
<stellar-slack1>
<sacarlson> I've only ever used text so I'm not sure. you can still put numbers in text
<stellar-slack1>
<dzham> Maybe you need to make 820196 into a string, like the error message says? :)
<stellar-slack1>
<veerasarma> oh ok i'll try
<stellar-slack1>
<veerasarma> thanks its working when change it to string
<stellar-slack1>
<veerasarma> :grinning:
<stellar-slack1>
<veerasarma> We are developed our site in PHP code
<stellar-slack1>
<veerasarma> but the stellar API in js-sdk so we don't have a idea how to integrate these process on our site
<stellar-slack1>
<veerasarma> anybody have the idea for this
<stellar-slack1>
<regisg27> @veerasarma: You can create an api with a nodejs server & js-stellar-sdk , then you can query this server from you php code with a php http client like guzzle.
<stellar-slack1>
<veerasarma> fine and thanks
<stellar-slack1>
<jed> Veerasarma what are you building!
<stellar-slack1>
<sacarlson> veerasarma: and maybe depending on what you are doing you website can do transactions from the user side to horizon and you can get the results on you php side with restclient or other method available on php http://phphttpclient.com/
bittrex-richie has quit [Ping timeout: 272 seconds]
bittrex-richie has joined #stellar-dev
<stellar-slack1>
<scott> horizon deploy is going out. Contains the link changes discussed last week.
pixelbeat has quit [Ping timeout: 276 seconds]
pixelbeat has joined #stellar-dev
pixelbeat has quit [Ping timeout: 250 seconds]
pixelbeat has joined #stellar-dev
<stellar-slack1>
<brian.ebert> On this page:
<stellar-slack1>
<brian.ebert> sorry. I'll begin again
<stellar-slack1>
<brian.ebert> Wait...I think I understand
pixelbeat has quit [Ping timeout: 252 seconds]
pixelbeat has joined #stellar-dev
<stellar-slack1>
<brian.ebert> One more question: it appears I don't need to include the sequence number of the funding account if I'm creating a new account. I've been using the sequence number when creating a payment from one account to another. Why the difference?
<stellar-slack1>
<bartek> > Sequence number: Each transaction has a sequence number. Transactions follow a strict ordering rule when it comes to processing of transactions per account. For the transaction to be valid, the sequence number must match the one stored in the source account entry when the transaction is applied. After the transaction is applied, the source account's stored sequence number is incremented by 1.
<stellar-slack1>
<brian.ebert> OK, call me stupid (it wouldn't be the first time) but I still don't understand. The sequence number is from the source account, so how is it different draining the source account to pay an existing account v. draining the source account to fund a new account?
<stellar-slack1>
<bartek> > it appears I don't need to include the sequence number of the funding account if I'm creating a new account you need to add current sequence number to every transaction. you only include sequence number of source account. please ask if you have any other questions.
<stellar-slack1>
<brian.ebert> I can assure you I am not including a sequence number when I create and fund a new account.
<stellar-slack1>
<bartek> can you share your code?
pixelbeat has joined #stellar-dev
<stellar-slack1>
<bartek> for example in your snippet this line: `server.loadAccount(fundingAccountAddress)` is responsible for loading current sequence number from the network.
<stellar-slack1>
<brian.ebert> OK, thanks. That clears it all up!
<stellar-slack1>
<brian.ebert> Although even with the mystery solved. So if I wanted to, could I call server.loadAccount when making a payment?