Replies: 2 comments 7 replies
-
You need to supply the account id, e.g.
The error was that there was no account id so then |
Beta Was this translation helpful? Give feedback.
-
@willemneal or @wluque, have you gotten this to work with an argument? I'm trying: yarn deploy:testnet --accountId foo.testnet -- deploy_test.foo.testnet And get an error that says:
I looked to see if maybe it was an issue with the 'near-cli' itself, but in my testing, using I tried the I'm relatively new to NEAR, so might be missing something. While I can send this command: I've been successful with creating sub-account contracts doing this in my own automated way, but it lacks the elegance and integration of using doing this all through the "native" way. |
Beta Was this translation helpful? Give feedback.
-
Hello , I am trying to run the deployment script :
near repl -s ./scripts/deploy.ts --accountId -- .testnet
and I have the following error : TypeError: account.CreateTransaction is not a function
need to install something? , this script would be the first step to deploy the smart contract to near?
thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions