I am trying with: docker run --rm -it --env="ETH_RPC_URL=https://mainnet.infura.io/v3/*********" - v $PWD:/tmp videocoinnetwork/staker fund 100 -k /tmp/public_key.json -s *****
but getting an error: failed to estimate gas needed: insufficient funds for transfer version=dev
@jnunez
Yes, you need to have enough Ether to pay for the bridging of ERC-20 Tokens to native VID for using “staker fund.,.” command.
For example look at the following transaction that performs the “staker fund…” to estimate the Ether required for paying the fee. It consumes around 57Gwei.
Hi @Ram_Penke, got an error this time and all the 160VID are gone together with ~0.01ETH
The error while running the initial command is:
FATA[0308] context deadline exceeded version=dev
Trying to run again gave me a different error than the initial one: FATA[0006] failed to estimate gas needed: gas required exceeds allowance (3599) version=dev
EDIT: Issed the probe command videocoinnetwork/staker probe and got the error:
FATA[0003] not registered: 0x4508A69DDd7f54e7F67D7f87A9FA543Bcf502CC0 version=dev
Also tried videocoinnetwork/staker stake add 160 which gives me: FATA[0003] insufficient funds for gas * price + value version=dev.
The question with this last is, where is this command expecting to see the funds 0x4508A69DDd7f54e7F67D7f87A9FA543Bcf502CC0 or the account where the funds got transfered to 0x702476a1d11ca76367d95984e9d7bd5f54c8585f? I also tried stake add 50 to no avail (same insufficient funds error).
@jnunez
I will check the issue and update you.
Please confirm that you registered the worker using VideoCoin conosle.
I guess you are trying to test the flow of self staking. as you may know 50k VID is required to deploy the worker.
I can see the minimum for staking at Rewards | VideoCoin Network, yet, it confuses me that there are two entry points, either stakers and workers but then workers still need to go through the full staking?
I would appreciate if you can shed some light here @Ram_Penke