Module: TezosClient::SmartpyInterface::MichelineSerializerWrapper

Included in:
TezosClient::SmartpyInterface
Defined in:
lib/tezos_client/smartpy_inteface/micheline_serializer_wrapper.rb

Instance Method Summary collapse

Instance Method Details

#actual_project_pathObject



12
13
14
# File 'lib/tezos_client/smartpy_inteface/micheline_serializer_wrapper.rb', line 12

def actual_project_path
  TezosClient.root_path
end

#convert_michelson_to_micheline(script) ⇒ Object



6
7
8
9
10
# File 'lib/tezos_client/smartpy_inteface/micheline_serializer_wrapper.rb', line 6

def convert_michelson_to_micheline(script)
  cmd = ["michelson-to-micheline", script]

  Tools::SystemCall.execute(cmd)
end