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
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
Seonggwan Lee
@sgwanlee_gitlab
스크린샷 2018-11-23 오후 4.32.30.png
Could you check for me if this is correct?
dorelb
@dorinburcea
image.png
@sgwanlee_gitlab above metamask with external endpoint via https
Seonggwan Lee
@sgwanlee_gitlab
got it
what about truffle config?
dorelb
@dorinburcea
@sgwanlee_gitlab remove the http:// :)
Seonggwan Lee
@sgwanlee_gitlab
great!
dorelb
@dorinburcea
@sgwanlee_gitlab then tun truffle console see you get access to the network endpont
Seonggwan Lee
@sgwanlee_gitlab
to migrate where should i put my password?
dorelb
@dorinburcea
that's a trouffle course for you :)
Seonggwan Lee
@sgwanlee_gitlab
Okay Thanks a lot @dorinburcea
dorelb
@dorinburcea
truffle @sgwanlee_gitlab . you need to unlock the account first then do the migration
@sgwanlee_gitlab from truffle console you can unlock the account or you have to create a deployment script that unlock first the account , both ways are ok