I am tryign to follow this tutorial on Medium:How to Create NFTs Like NBA Top Shot With Flow and IPFS | by Justin Hunter | Pinata | Medium
When I generate the private keys and add it to flow.json and then try to run the transaction I get an error:
Config Error: invalid project configuration: input has incorrect ECDSA_P256 key size
My flow.json is as below:
{
"emulators": {
"default": {
"port": 3569,
"serviceAccount": "emulator-account"
}
},
"contracts": {"AFTContract": "./cadence/contracts/AFTContract.cdc"},
"networks": {
"emulator": {
"host": "127.0.0.1:3569",
"chain": "flow-emulator"
},
"mainnet": {
"host": "access.mainnet.nodes.onflow.org:9000",
"chain": "flow-mainnet"
},
"testnet": {
"host": "access.devnet.nodes.onflow.org:9000",
"chain": "flow-testnet"
}
},
"accounts": {
"emulator-account": {
"address": "f8d6e0586b0a20c7",
"privateKey": "1531c101b69c4c6d37124cea949b627d051b8f0bb66117a71c834e4bd5e29a63",
"sigAlgorithm": "ECDSA_P256",
"hashAlgorithm": "SHA3_256",
"chain": "flow-emulator"
}
},
"deployments": {
"emulator": {
"emulator-account": ["AFTContract"]
}}
}
What am i doing worng?