-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can not generate address, please help me #801
Comments
this sounds like a versioning issue in go.mod can you post your full project with go.mod so I can debug? |
@nvdtf Thank you very much, I have resolved it |
I still can not create account via examples in this repo:
I debug my program , it panic from the code on this line:
I have replace my address and key in the json file: my address is : ad25383c17a21ef7 I have upload my code below, please check |
The Go SDK examples connect to the Emulator, so they use a local signer:
You updated the example to connect to Mainnet, so you need an actual mainnet account with a private key. You can't use the emulator service account on Mainnet. |
I have indeed replaced it with the address and private key of the main network. In the file I uploaded above, the address and private key of the main network were exported from Flow Wallet, including the AccountKey information of the account. |
It looks like the transaction sent was successful https://www.flowdiver.io/tx/ec009a44151b0b0191475b49b74181d865669804166da84927d11212e51df755. I have a feeling this just has to do with an incorrect flow-go-sdk/examples/examples.go Lines 289 to 305 in 9424cdb
|
@jribbink Thank you, I have already created a Flow Account for a new project, but I cannot migrate my code to the existing project. The code for create the Flow account is in the Error info:
|
From Discord: ( from @SupunS )
|
@bluesign Thank you, I want make a new project for Flow |
When I want to generate flow address, it panic :
windows:
mac os:
The text was updated successfully, but these errors were encountered: