NethermindEth / starknet.go

Golang Library for StarkNet/Cairo
MIT License
150 stars 108 forks source link

deploy account #603

Open lucky777strike opened 3 months ago

lucky777strike commented 3 months ago

/examples/deployAccount without any changes in code give precomputed addres contains only 65 symbols

Generated public key: 0x4b0b34ed5c08779e284065e08feae2446336370ef167b35b167a6b50dcfe474
Generated private key: 0x1a7617d4e81b51a8103c7c68fc2b803167896447669e254b70605f1a62c2353
PrecomputedAddress: 0x53f26f1bb6a40d7f4a14f3b8abc0b62e36cf29af844a1d2969a2a3cad565c2d
The `precomputedAddress` account needs to have enough ETH to perform a transaction.
Use the starknet faucet to send ETH to your `precomputedAddress`. You need aproximately 0.000198 ETH. 
When your account has been funded by the faucet, press any key, then `enter` to continue : 

it's normal? we cannot send faucet funds or send from another wallets to this address

thiagodeev commented 3 months ago

Hi @lucky777strike. This is a known issue, you can put leading zeros after the "0x" until you fill the 66-character number. We'll work on doing this automatically soon. Let me know if you have any problems