Deploy Neo Smart Contract at runtiime.
Avdhesh51000 opened this issue · 5 comments
I am trying to deploy the NEO smart contract at the run time, with dynamic contract, created by my as per requirement. Did any one have any reference for deploying it to test-net / Main-net directly.
I have to deploy the contract in python and Ruby. For this i also tried Neopy (Neo-python) but there is issue it's have their own console and i am unable to throw the command on that terminal/console and also tried neojs but unable to find solution.
Is there is any way for that. please provide any reference for the same.
I am trying to deploy the NEO smart contract at the run time
Is this contract already in its binary form (=.avm
)?
Did any one have any reference for deploying it to test-net / Main-net directly. I have to deploy the contract in python and Ruby
I can't say anything about Ruby. You don't need to use the console, but you can look at the code for the deploy console command (sc deploy
) and use that directly (linked below)
neo-python/neo/Prompt/Commands/SC.py
Line 257 in 8061071
Is this contract already in its binary form (=.avm)?
No, .avm will also generated at run time.
I am trying to deploy the NEO smart contract at the run time
Is this contract already in its binary form (=
.avm
)?Did any one have any reference for deploying it to test-net / Main-net directly. I have to deploy the contract in python and Ruby
I can't say anything about Ruby. You don't need to use the console, but you can look at the code for the deploy console command (
sc deploy
) and use that directly (linked below)
neo-python/neo/Prompt/Commands/SC.py
Line 257 in 8061071
Is this contract already in its binary form (=.avm)?
No, .avm will also generated at run time.
their is only a contract file which, need to be compiled , verified and deployed on test-net or main-net.
look at the sc build
command how to compile, or just look at the neo-boa
project and the readme there
Closing due to inactivity. Assumed to be resolved.