Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Andreas Papazidis
    @MorganGR
    let me see if I can find anything
    alternatively look at running the DAppNode package
    Ubuntu as an OS is fine. Additionally, we recommend at least 4GB of memory and 20GB of SSD storage as a minimum hardware setup to run the required services for a validator node (based on the experiences we have had on our long-running testnet). Please take into account that this excludes the Ethereum mainnet node. (see: https://medium.com/trustlines-foundation/t-x-launching-the-trustlines-blockchain-ffeb82b6989b). With regards to the bandwith I'll check with the devs and let you know once I know more!
    geleeroyale
    @geleeroyale
    Thanks Andreas! :raised_hands:
    Andreas Papazidis
    @MorganGR
    Lots of love! :)
    Why we use Parity 2.3.6?
    Bernd Bohmeier
    @berndbohmeier
    There was a bug in parity 2.4.* with the AURA engine, so we could not upgrade. This should be solved now, so we can upgrade. We will probably do this when we integrate the istanbul fork into the Trustlines Blockchain
    Anton Bukov
    @k06a
    How to use bridge? I made tx in tlbc but who will create tx in eth mainnet submitTransaction like this one https://etherscan.io/tx/0x5135439d19e5baad1535ac6d055183758807c823b2d3a686b701e86f12413a50
    Bernd Bohmeier
    @berndbohmeier
    To use the bridge you need to send TLN (ERC20 token on the ethereum mainnet, https://etherscan.io/token/0x679131F591B4f369acB8cd8c51E68596806c3916) to the bridge (https://etherscan.io/address/0x18bdc736b23ff7294bed9fa988a1443357c7b0ed). The validators will then confirm this and release the tokens. This bridge works from ethereum mainnet -> Trustlines Blockchain.
    We are working on verifying the 0x401 contract, but sadly it is currently not possible, either because of a misconfiguration or because of a bug in the blockscout software.
    Meanwhile, if you need the abi, you can create it yourself from this contract. https://github.com/trustlines-protocol/blockchain/blob/master/contracts/contracts/bridge/HomeBridge.sol
    Anton Bukov
    @k06a
    @berndbohmeier thanks, but I expected the bridge to be bidirectional :)
    Just tried to check how it works, ok. Will read smart contracts also.
    geleeroyale
    @geleeroyale
    I noticed that we have a low number of peers on the Giveth validator. Our node runs on AWS. Can anybody help with ideas what we could do to increase our peers?
    Anton Bukov
    @k06a
    @geleeroyale add --max-peers=100 --min-peers=50 to ADDRESS_ARG in tlbc/.env file
    geleeroyale
    @geleeroyale
    Thanks! Tried this, but did not improve connectivity.
    Ralf Schmitt
    @schmir-at-bb
    @geleeroyale Change your firewall rules to allow connections to port 30302 from any host (tcp and udp)
    Kevin
    @ethereumkev
    Hello, I just sent some TLN to the token bridge from an ETH address. How can I use my ETH .json keystore file to log into TLC network?
    Bruno Škvorc
    @Swader
    Hi,
    just spoke to your guys here at EthCC. I'd like to add a new currency into the app and the currency registry. How do I go about doing that and submitting the relevant PRs?
    Bruno Škvorc
    @Swader
    Running into an issue right now when installing:
    vagrant@ubuntu1804:~/tl$ pip install trustlines-contracts-deploy
    Collecting trustlines-contracts-deploy
      Could not find a version that satisfies the requirement trustlines-contracts-deploy (from versions: )
    No matching distribution found for trustlines-contracts-deploy
    Bernd Bohmeier
    @berndbohmeier
    @ethereumkev Hey Kevin, what is you preferred way of doing it in ethereum? Maybe there is some similar way for the Trustlines Blockchain.
    So far I would say you could either run parity and run your own node for the Trustlines Blockchain and then connect to it (https://github.com/trustlines-protocol/blockchain#setup-without-docker) or you can run your favorite wallet that allows to connect to an open rpc (for example metamask) and connect it to https://tlbc.rpc.anyblock.tools
    Bernd Bohmeier
    @berndbohmeier
    @Swader I just checked, that command should work. which python version are you on?
    we only support >= 3.6
    Bruno Škvorc
    @Swader
    System defaults to 2.7, it's a new VM. The docs should be updated, right now it's kind of ambiguous what with the additional secp256k1 instructions. I'll try with newer python, thanks.
    Bruno Škvorc
    @Swader
    Installed. To start developing install the development dependencies into a venv with pip install -c constraints.txt -r requirements.txt - what are the development deps? Is a step missing, like a repo to clone?
    Bruno Škvorc
    @Swader
    Oh https://github.com/trustlines-protocol/contracts - maybe make a note of that in the docs too
    Bruno Škvorc
    @Swader
    Link to deploy docs from this page is dead: https://dev.trustlines.network/docs/contracts/contracts_README.html
    it is also not clear where one should get deploy-tools
    (part of make compile)
    Bernd Bohmeier
    @berndbohmeier
    If you just want to deploy a new currency network, pip install trustlines-contracts-deploy is enough. Then just run tl-deploy currencynetwork --help to see the available options
    the development dependencies are only needed if you want to start hacking on the code
    And thanks, I noted the problems with the docs and we will work on that.
    Bruno Škvorc
    @Swader
    Is tl-deploy supposed to be in my path after installation? I can't find it
    Bernd Bohmeier
    @berndbohmeier
    it is installed by pip install trustlines-contracts-deploy
    where exactly depends on your python setup, so whether you use a virtual environment or not for example
    I would recommend using a virtual env, you can create one with python3 -m venv name-of-venv
    you can that activate and use it with ./name-of-venv/bin/activate
    after that install it again inside the venv pip install trustlines-contracts-deploy, then you should find it in name-of-venv/bin
    Bernd Bohmeier
    @berndbohmeier
    It should also work in your setup, but I can not tell you where to find it there.
    Bruno Škvorc
    @Swader
    Started from scratch with venv, no dice. I have installed tl-deploy previously but I have no idea where it is. Still I'd expect the venv to install its own copy, it's like the venv isn't activating? see here: https://gist.github.com/Swader/4aacb4e56f2a86e8a2eead8a450fda3c
    Nvm, looks like removing it entirely from system and reinstalling helped.
    Thanks for your help - if the https://dev.trustlines.network/docs/contracts/contracts_README.html page is pulling directly from the repo's readme, I can submit a PR with clarifications if you think it'd be valuable.
    Bruno Škvorc
    @Swader

    The SYMBOL option needs clarification too - how does one define it? Is it a URL, a UTF8 character? Is that the ticker ($BEER) or the logo?

    I see on blockscout that it's a ticker. How does one define the icon for the coin?

    Bruno Škvorc
    @Swader
    Final problem:
    vagrant@ubuntu1804:~/trustlines$ ~/.local/bin/tl-deploy currencynetwork --decimals 0 --fee-rate 0.0 --jsonrpc https://mainnet.infura.io/v3/d68880c5c0db411ab96a2ae4cd9c80a7 --gas 500000 --gas-price 5 --auto-nonce --keystore key.json Favor FAV
    Please enter the password to decrypt the keystore []:
    /usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
      import fnmatch, glob, traceback, errno, sys, atexit, locale, imp
    Traceback (most recent call last):
      File "/home/vagrant/.local/bin/tl-deploy", line 8, in <module>
        sys.exit(cli())
      File "/home/vagrant/.local/lib/python3.6/site-packages/click/core.py", line 764, in __call__
        return self.main(*args, **kwargs)
      File "/home/vagrant/.local/lib/python3.6/site-packages/click/core.py", line 717, in main
        rv = self.invoke(ctx)
      File "/home/vagrant/.local/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
        return _process_result(sub_ctx.command.invoke(sub_ctx))
      File "/home/vagrant/.local/lib/python3.6/site-packages/click/core.py", line 956, in invoke
        return ctx.invoke(self.callback, **ctx.params)
      File "/home/vagrant/.local/lib/python3.6/site-packages/click/core.py", line 555, in invoke
        return callback(*args, **kwargs)
      File "/home/vagrant/.local/lib/python3.6/site-packages/tldeploy/cli.py", line 208, in currencynetwork
        private_key=private_key,
      File "/home/vagrant/.local/lib/python3.6/site-packages/tldeploy/core.py", line 148, in deploy_network
        private_key=private_key,
      File "/home/vagrant/.local/lib/python3.6/site-packages/tldeploy/core.py", line 56, in deploy
        contract_interface = contracts[contract_name]
      File "/home/vagrant/.local/lib/python3.6/site-packages/tldeploy/core.py", line 34, in __getitem__
        self.data = load_contracts_json()
      File "/home/vagrant/.local/lib/python3.6/site-packages/tldeploy/core.py", line 23, in load_contracts_json
        with open(path, "rb") as f:
    FileNotFoundError: [Errno 2] No such file or directory: '/usr/trustlines-contracts/build/contracts.json'
    Looks like the currencynetwork command needs something from the repo after all, but I'm not sure how to get contracts.json built into /usr/