Cannot deploy contract: Please provide the address of the wallet you are going to sign this transaction. Error: Invalid data: missing human-readable separator, "1"

Hey guys
Cannot deploy this contract, it builds well, but when I’m trying to deploy I see this output

> forc deploy --url http://node-beta-2.fuel.network/graphql --gas-price 1                                     (1) (multiple_deploy+9) 01:03:54 
  Compiled library "core".
  Compiled library "std".
  Compiled contract "token_contract".
  Bytecode size is 13912 bytes.
Contract id: 0x777923117c7772c0680806d2a0d3a0eb5e654fa65e48d8de85516f6f85ba4887
Please provide the address of the wallet you are going to sign this transaction with:4
Error: Invalid data: missing human-readable separator, "1"

Contract

1 Like

Hi,

You need to provide the wallet address not the index of the wallet. You can get your wallet address from its index by simply executing forc wallet account 1 assuming 1 is your wallet’s index or you can use forc wallet list and select an address from there. Small tip: your address should be starting with fuel.

1 Like

I think I need to sleep, thank you very much. sorry for the stupid question

One more question
I have 5 accounts and want to deploy 5 instances of contract to each address.
But the address of the contract is the same.
It does not look to be safe

Contract id: 0x777923117c7772c0680806d2a0d3a0eb5e654fa65e48d8de85516f6f85ba4887
Please provide the address of the wallet you are going to sign this transaction with:fuel1s0ul05vsv84ltlxfn7fwmv0765ghah4nm5zj84z6zwy9mcutnz6q97zrcl
Transaction id to sign: cc57f10f926ea55b3dee6e263df35c7cfb367d734337f1b5c34c8f666c04e0ba
Please provide the signature:5d4af354073bc381d7114c4a752dbaf9b4476cfa6148aa79f5ab1a2559a0775d515c2112522c1d9d7ad553bb3d8dfdae9611f533ce730a3c307356c87acdfebc
Waiting 1s before retrying    
contract 777923117c7772c0680806d2a0d3a0eb5e654fa65e48d8de85516f6f85ba4887 deployed in block 0xa13a5ba95963da45c58e2f9f84c98ac6d3752c7639855ccad200ecdbd51cb33e

...

Contract id: 0x777923117c7772c0680806d2a0d3a0eb5e654fa65e48d8de85516f6f85ba4887
Please provide the address of the wallet you are going to sign this transaction with:fuel1rwflkgreng5f4q2y9t3gnq4h87kaprm3a49mwfkr90pdzwg8y0asqpkmac
Transaction id to sign: a48d5fe16df66b7e6ec01a525525ba718f13f65b7037b5b383b2a1a00a7ca377
Please provide the signature:339875c35e2a24a3c46b09ed114889ff4027a2f614a3ef56e43e2c2d3a23029756368e817791949f03673ea76ff67e43de99afe84534f068c035a0649e9c19a2
Waiting 1s before retrying    
contract 777923117c7772c0680806d2a0d3a0eb5e654fa65e48d8de85516f6f85ba4887 deployed in block 0x44c0797c2dedc72bade3b2f7fb24a192967a1552fbd0c0ff81c0d7f270b2a0f7

...


You can specify a salt field in your manifest file to overcome this issue. See an example at the end of this page.

2 Likes

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.