Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 10 2020 05:22
    Dorel created
Seonggwan Lee
@sgwanlee_gitlab
Hi @dorinburcea I was using ML-Truffle-Ganache. but suddenly it doesn't work. so I generate another ML-Truffle-Ganache.
but this time there's no testrpc server
dorelb
@dorinburcea
@sgwanlee_gitlab we have experienced technical issues these days , we are replacing the ganache-cli in the stack . Please give use few hours you will have the ganache-cli . It won't be anymore a separate machine but will be in the dev-machine and ready to use from the command pallete
Seonggwan Lee
@sgwanlee_gitlab
@dorinburcea Great, actually I'm writing user-guide in Korean.
Seonggwan Lee
@sgwanlee_gitlab
I was a little bit confused the stack was changed after I wrote about it.
I have a question about network endpoint of worksapce. How can I migrate my smart contracts into PoA Ethereum network that I created in Morpheus bps?
dorelb
@dorinburcea
@sgwanlee_gitlab sorry about inconvenience , if you don't remove the existing workspace you won't loose your work even if the stack behind will change. Very soon we'll inform you when the ML-Truffle-Ganache will have ganache -cli inculded and you can see it and logs too
Seonggwan Lee
@sgwanlee_gitlab
It's poa i made.
how can I connect them via truffle?
스크린샷 2018-11-23 오후 3.34.17.png
I think port number is needed to connect properly.
dorelb
@dorinburcea
select_endpoints.PNG
@sgwanlee_gitlab these are the steps 1 you attach the network to workspace
Seonggwan Lee
@sgwanlee_gitlab
Ok, I did it
dorelb
@dorinburcea
sample_env_endpoint.PNG
@sgwanlee_gitlab then you can double check environment variable that gives you the path
@sgwanlee_gitlab the internal endpoint path with the ports
Seonggwan Lee
@sgwanlee_gitlab
checked it
dorelb
@dorinburcea
@sgwanlee_gitlab the url in the info tab is only external (internet RPC url) , for application use the one generated by the workspace
ganache_cli_start.PNG
Now if anyone need Ganache-cli it's already preinstalled in the same machine , just clik on the command
ganache_cli_started.PNG
as above you will have a separate terminal for ganache-cli (testrpc) and will be alive as long as you dont close the window
retriece_accounts_and_keys.PNG
@sgwanlee_gitlab . When you create the POA network you are asked for a password (if in ready-to-go is the only passowrd you provide) in Advanced mode is called Consortium Data password . Preserve this password as it is the only way to : 1) retrieve the password for the accounts 2) retrieve the wallet address and their keys
Seonggwan Lee
@sgwanlee_gitlab
checked
dorelb
@dorinburcea
@sgwanlee_gitlab by genesis the Sealer (miners) address are super-funded , the member address no . Pick up the address based on your applicatiojn needs
Seonggwan Lee
@sgwanlee_gitlab
ganache-cli command takes time?
nothing chaged for a while.
스크린샷 2018-11-23 오후 4.09.25.png
dorelb
@dorinburcea
sorry as mentioned you shoud stop the workspace and start again , the stack has been updated. Ganache-cli command it's super fast
Seonggwan Lee
@sgwanlee_gitlab
cool
dorelb
@dorinburcea
@sgwanlee_gitlab @sgwanlee_gitlab it takes less than a second
@sgwanlee_gitlab I reko from the command that this is the old stack
Seonggwan Lee
@sgwanlee_gitlab
I'm restarting now
It takes time
dorelb
@dorinburcea
can you create a fresh new workspace . keep the existing stopped ?
Seonggwan Lee
@sgwanlee_gitlab
Okay. but i have to remove the old one because of the ram limit.
starting now
스크린샷 2018-11-23 오후 4.20.38.png
dorelb
@dorinburcea
for truffle development 2Gb should be enough so you can have two workspace usable 2gb each
Seonggwan Lee
@sgwanlee_gitlab
ganache is up
super fast
Is port 8545 open to external?
dorelb
@dorinburcea
no , it is open to your dev-machine only
@sgwanlee_gitlab next gen of truffle stack will install also web3 dependencies so the npm install will be faster.
Seonggwan Lee
@sgwanlee_gitlab
I feel fater then yesterday.
Can I connect http://bops.morpheuslabs.io:21608/ via Metamask?
dorelb
@dorinburcea
image.png
@sgwanlee_gitlab better use the external endpoint . the internal is not suitable and soon the ports will be closed from outside