Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 20 2018 21:25
    @a1300 banned @pankaj005
  • Oct 20 2018 21:20
    @a1300 banned @johnbonda
  • Oct 14 2018 19:33
    @a1300 banned @charry1729
a1300
@a1300
I changed it to 4096 that is not to problem...
charry1729
@charry1729
yes my port in 9305
Bass Jobsen
@bassjobsen
run it with asch-redeploy
then open http://localhost:4096/chains/test-XXXXXXXXX/ replace XXXXXXXX with the unique string
now you can invoke the contract see examples/invoke.png and eamples/db.png the result
charry1729
@charry1729
thank you so mych
Bass Jobsen
@bassjobsen
did it fix your problems?
John Vijay Bonda
@johnbonda
hi
i am new to asch
asch-cli registerdapp -e "stone elephant caught wrong spend traffic success fetch inside blush virtual element" -f dapp.json Server error: Error: Invalid chain name
invalid chain name ??
a1300
@a1300
Hi @johnbonda the asch-cli tool does currently not work with the new ASCH version. You can use https://github.com/aschplatform/asch-redeploy to register and deploy your DApp in one step
John Vijay Bonda
@johnbonda
Thank you @a1300, I also want to know the difference between app.sdb and app.model.model_name. Both of them are used to access the models stored in the database. I don't know when to use what. Pardon me if this sounds too basic, I'm a fresher. Thank you
a1300
@a1300
No problem @johnbonda
Check out https://github.com/AschTemplates/contract-tpl for a Sidechain project template
Are you building a Sidechain on Asch?
John Vijay Bonda
@johnbonda
Yes, I'm learning right now
a1300
@a1300
Cool. Are you planing to build a Sidechain on ASCH?
John Vijay Bonda
@johnbonda
Yes.
I'm currently analyzing other sidechain programs and trying to understand what is happening
a1300
@a1300
That is good. Have a look at https://github.com/aschplatform/cctime
I will answer your question soon. I will look into the documentation
John Vijay Bonda
@johnbonda
Thank you @a1300
a1300
@a1300
@johnbonda app.model.[modelName] is more like an interface to query data. Have a look at https://github.com/AschPlatform/asch-docs/blob/master/sdk_api/en.md#32-query-data-models
@johnbonda app.sdb is more used to manipulate data (the equivalent to DML = Data Manipulation Language in SQL)
PS sdb stands for smart database
Documentation on app.sdb: https://github.com/AschPlatform/asch-docs/blob/master/sdk_api/en.md#11-aync-appsdbloadmodel-fields-indices
John Vijay Bonda
@johnbonda
Okay, is it better to use app.model.[modelName] for accessing data and app.sdb for changing or adding data?
a1300
@a1300
yes
John Vijay Bonda
@johnbonda
Cool thank you @a1300
a1300
@a1300
But I would use https://github.com/AschTemplates/contract-tpl as a starter template
John Vijay Bonda
@johnbonda
Yeah, will do thanks for your kind guidance.
a1300
@a1300
@johnbonda no problem. Let me know if something is not working for you
John Vijay Bonda
@johnbonda
Yeah sure, I'm grateful : )
a1300
@a1300
Hi @sighttviewliu if you have any questions regarding ASCH. Feel free to ask :slight_smile:
John Vijay Bonda
@johnbonda
@a1300 Is it possible to de-register a DApp from the blockchain?
a1300
@a1300
@johnbonda Good question.
You have a registration transaction which can not be undone. Because the blockchain saves all transactions. But you could decide to not longer have the your Sidechain running. Then nobody could use this service.
John Vijay Bonda
@johnbonda
Yeah right, that's the basic purpose of blockchain and I forgot it. Thank you @a1300 . How do we stop the service though? Is it just another API call like register?
a1300
@a1300
@johnbonda no problem. You can stop the service if all nodes of your Sidechain are down. There is no "de-register" transaction
John Vijay Bonda
@johnbonda
Oh cool, thank you @a1300
a1300
@a1300
@johnbonda no problem
a1300
@a1300
a1300
@a1300
Thank you @bassjobsen
:slight_smile:
a1300
@a1300
@bassjobsen please merge another PR bassjobsen/asch-js#4
Thank you! :thumbsup:
a1300
@a1300
@bassjobsen no need for bassjobsen/asch-js#4
MingMingIO
@MingMingIO
Hi guys, we are testing ASCH v1.5 testnet at this moment. Please join our testing: https://medium.com/aschplatform/asch-v1-5-testnet-has-launched-657e86b38691
btw, welcome to join the ASCH Discord server: https://discord.gg/mU8WDCk
cnusrini
@cnusrini
Hi All, I am trying to establish a hello world kind of side chain sample. Can anyone guide me how to implement it?
cnusrini
@cnusrini
@bassjobsen I am working on the sidechain proof of concept. In this regards I am trying to get some help in understanding. Please ping me
MingMingIO
@MingMingIO
Please join Discord group here: https://discord.gg/52NRR2S
Song-Wind
@WindSongGROUP
how about asch ?