Going through the deployment section of the tutorial and having issues deploying.
forc deploy --url node-beta-2.fuel.network/graphql --gas-price 1 (on beta2)
forc-deploy --node-url https://node-beta-2.fuel.network/graphql --gas-price 1 (what I found for latest toolchain help)
Saw another help channel that i should use Beta-2 . ok cool
Then I go to sign off on with my wallet
forc wallet sign --account [the account index, without brackets] tx-id [Transaction id to sign, without brackets]
and I get this error:
error: Found argument ââaccountâ which wasnât expected, or isnât valid in this context
If you tried to supply `--account` as a value rather than a flag, use `-- --account`
Ok, let me see if I try fuelup default latest
The command works and I get a signature - doesnât work because Iâm assuming different chains.
I tried switching back to beta-2 but get this error when I paste the signature:
request returned an error: error trying to connect: invalid URL, scheme is not http
Error: Custom { kind: Other, error: âGraphql error: HttpStream(hyper::Error(Connect, "invalid URL, scheme is not http"))â }
I guess you are having a couple of problems at the same time so letâs break it down.
If you are deploying to beta-2 testnet you should be using that toolchain. I see that you tried that but failed to sign with forc-wallet. Since we recently had a breaking release of forc-wallet for beta3 network, we updated the quick start but I see that the example for the updated version was done in the beta-2 section instead of beta-3. We will be fixing that.
To give a TL;DR:
Switch to beta-2 toolchain
Follow the steps until signing in the quickstart, for signing disregard the quickstart for now and use this comment forc wallet sign --id <id> --account-index <account_index>
This will solve your first problem which is a documentation error on our end so sorry for the confusion!
Letâs come to the second problem that you are having/going to be having which is the following error message:
Error: Custom { kind: Other, error: âGraphql error: HttpStream(hyper::Error(Connect, "invalid URL, scheme is not http"))â }
To fix that, can you try to switch your url from https to http. Example: forc-deploy --node-url http://node-beta-2.fuel.network/graphql --gas-price 1
Finally a note: Making sure that using the correct version of the docs is important since you are not working with the latest release. I am linking the sway bookâs correct version for beta-2 for your reference.
ran into a few issues trying to sign off my txid.
Issue iâm running into is on fuelup default latest
I can use forc-wallet account 0
Iâll get a return of the address I have registerd
on Beta-2
I can use forc-wallet account 0 or forc wallet account 0
Account 0 is not derived yet!
So itâs not detecting an account to sign
also the
forc wallet sign id --id 0x3edb96c23766b8504caaff042994efa18460e7ba27f60191394a6bcf5be8d7d8 --account-index 0
error: Found argument â0â which wasnât expected, or isnât valid in this context