jerome | flow
FFlow
•Created by jerome | flow on 9/9/2024 in #🛠│developer-questions
Jerome | Flow (2024-09-09)
42 replies
FFlow
•Created by jerome | flow on 9/9/2024 in #🛠│developer-questions
Jerome | Flow (2024-09-09)
a flow.json linter
42 replies
FFlow
•Created by jerome | flow on 9/9/2024 in #🛠│developer-questions
Jerome | Flow (2024-09-09)
Yeah that would be cool
42 replies
FFlow
•Created by jerome | flow on 9/9/2024 in #🛠│developer-questions
Jerome | Flow (2024-09-09)
Grr sneaky
42 replies
FFlow
•Created by jerome | flow on 9/9/2024 in #🛠│developer-questions
Jerome | Flow (2024-09-09)
Yeah it worked now. Thanks!
42 replies
FFlow
•Created by jerome | flow on 9/9/2024 in #🛠│developer-questions
Jerome | Flow (2024-09-09)
yeah 🙂
42 replies
FFlow
•Created by jerome | flow on 9/9/2024 in #🛠│developer-questions
Jerome | Flow (2024-09-09)
Still the same problem - this is new flow.json
"testnet-jp": {
"address": "1844efeb3fef2542",
"key": {
"type": "hex",
"index": 1,
"signatureAlgorithm": "ECDSA_P256",
"hashAlgorithm": "SHA3_256",
"privateKey": "f3394ea869680b9dafdbb14663281659a36425e55aa7beab4e7b2785cc3f1caa"
}
}
jerome@jeromes-MacBook-Pro-2 cadence % flow-c1 transactions send ./transactions/helloworld.cdc -f flow.json -n testnet --signer 'testnet-jp'
❗ Version warning: a new version of Flow CLI is available (v1.21.0-cadence-v1.0.0-preview.38).
Read the installation guide for upgrade instructions: https://cadence-lang.org/docs/cadence-migration-guide#install-cadence-10-cli
Transaction ID: 9a174b0d7ad225aed77b96535a9bdb00adcaa139ce31781949e8cea9a14717bf
Block ID 1d1f6a4726b346e31a0033ae20e2d1d5c1bc33d5a0cb032e90e62a0027f17541
Block Height 215672117
❌ Transaction Error
[Error Code: 1009] error caused by: 1 error occurred:
* transaction verification failed: [Error Code: 1006] invalid proposal key: public key 1 on account 1844efeb3fef2542 does not have a valid signature: [Error Code: 1009] invalid envelope key: public key 1 on account 1844efeb3fef2542 does not have a valid signature: signature is not valid
Status ✅ SEALED
ID 9a174b0d7ad225aed77b96535a9bdb00adcaa139ce31781949e8cea9a14717bf
Payer 1844efeb3fef2542
Authorizers [1844efeb3fef2542]
Proposal Key:
Address 1844efeb3fef2542
Index 1
Sequence 0
No Payload Signatures
Envelope Signature 0: 1844efeb3fef2542
Signatures (minimized, use --include signatures)
Events: None
Code (hidden, use --include code)
Payload (hidden, use --include payload)
Fee Events (hidden, use --include fee-events)
42 replies
FFlow
•Created by jerome | flow on 9/9/2024 in #🛠│developer-questions
Jerome | Flow (2024-09-09)
I will
42 replies
FFlow
•Created by jerome | flow on 9/9/2024 in #🛠│developer-questions
Jerome | Flow (2024-09-09)
thanks!
42 replies
FFlow
•Created by jerome | flow on 9/9/2024 in #🛠│developer-questions
Jerome | Flow (2024-09-09)
The docs for flow.json are. not very much at all
42 replies
FFlow
•Created by jerome | flow on 9/9/2024 in #🛠│developer-questions
Jerome | Flow (2024-09-09)
ahh . thanks!
42 replies
FFlow
•Created by jerome | flow on 9/9/2024 in #🛠│developer-questions
Jerome | Flow (2024-09-09)
{
"contracts": {
"EVM": {
"aliases": {
"emulator": "f8d6e0586b0a20c7",
"mainnet": "e467b9dd11fa00df",
"testnet": "8c5303eaa26202d6"
}
}
},
"networks": {
"emulator": "127.0.0.1:3569",
"mainnet": "access.mainnet.nodes.onflow.org:9000",
"testnet": "access.devnet.nodes.onflow.org:9000"
},
"accounts": {
"emulator-account": {
"address": "f8d6e0586b0a20c7",
"key": "fe809cc837ddcd7e761a482721c050aae43657448db859f4eb8fc421e9609938"
},
"testnet-jp": {
"address": "1844efeb3fef2542",
"key": "f3394ea869680b9dafdbb14663281659a36425e55aa7beab4e7b2785cc3f1caa"
}
}
}
Here's my generation:
jerome@jeromes-MacBook-Pro-2 cadence % flow-c1 keys generate
❗ Version warning: a new version of Flow CLI is available (v1.21.0-cadence-v1.0.0-preview.38).
Read the installation guide for upgrade instructions: https://cadence-lang.org/docs/cadence-migration-guide#install-cadence-10-cli
🔴️ Store private key safely and don't share with anyone!
Private Key f3394ea869680b9dafdbb14663281659a36425e55aa7beab4e7b2785cc3f1caa
Public Key c7528573e40eb9daffa88ac29d4becdb1f1859fbbc8bc0ec38e0862e8814a97dbe5ecfc9f11ec41cc6028f173486aebb9fe631ecc0a9ffdae5d01afba3c4b320
Mnemonic dizzy cry volume flag confirm huge indicate hood summer motor glove tilt
Derivation Path m/44'/539'/0'/0/0
Signature Algorithm ECDSA_P256
42 replies
FFlow
•Created by jerome | flow on 9/9/2024 in #🛠│developer-questions
Jerome | Flow (2024-09-09)
It's weird because in the flow.json, that account is linked to the PK for the key at index 1, so how/why it keeps referring to the key at index 0 is confusing
42 replies