<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://opentransactions.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Client-side_scripting</id>
	<title>Client-side scripting - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://opentransactions.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Client-side_scripting"/>
	<link rel="alternate" type="text/html" href="http://opentransactions.org/wiki/index.php?title=Client-side_scripting&amp;action=history"/>
	<updated>2026-05-12T06:33:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.2</generator>
	<entry>
		<id>http://opentransactions.org/wiki/index.php?title=Client-side_scripting&amp;diff=155&amp;oldid=prev</id>
		<title>FellowTraveler: fixed API link</title>
		<link rel="alternate" type="text/html" href="http://opentransactions.org/wiki/index.php?title=Client-side_scripting&amp;diff=155&amp;oldid=prev"/>
		<updated>2013-06-15T11:43:44Z</updated>

		<summary type="html">&lt;p&gt;fixed API link&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 11:43, 15 June 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot; &gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To make your own OT script, create a text file, and &amp;lt;code&amp;gt;chmod u+x filename&amp;lt;/code&amp;gt; in order to be able to run it as an executable. Then put this shebang at the top of the file: &amp;lt;code&amp;gt;#!/usr/bin/env ot&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To make your own OT script, create a text file, and &amp;lt;code&amp;gt;chmod u+x filename&amp;lt;/code&amp;gt; in order to be able to run it as an executable. Then put this shebang at the top of the file: &amp;lt;code&amp;gt;#!/usr/bin/env ot&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now you can run that file like any other executable, just type: &amp;lt;code&amp;gt;./filename&amp;lt;/code&amp;gt; and the script will execute as an OT client, with full access to the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;OT &lt;/del&gt;[[API|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;low-level API]] as well as the &lt;/del&gt;OT &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[[Use Cases|high-level &lt;/del&gt;API]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now you can run that file like any other executable, just type: &amp;lt;code&amp;gt;./filename&amp;lt;/code&amp;gt; and the script will execute as an OT client, with full access to the [[API|OT API]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;OT is easy! Even a trained monkey can write OT-based scripts and client applications! If you want to see how the high-level API is used, check out the [https://github.com/FellowTraveler/Open-Transactions/blob/master/scripts/ot/ot_commands.ot code for the opentxs CLI tool] for example functions demonstrating all of the OT functionality. (In fact, you can actually CALL all those functions from your own OT scripts.)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;OT is easy! Even a trained monkey can write OT-based scripts and client applications! If you want to see how the high-level API is used, check out the [https://github.com/FellowTraveler/Open-Transactions/blob/master/scripts/ot/ot_commands.ot code for the opentxs CLI tool] for example functions demonstrating all of the OT functionality. (In fact, you can actually CALL all those functions from your own OT scripts.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;See also: [[Smart contracts]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;See also: [[Smart contracts]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>FellowTraveler</name></author>
		
	</entry>
	<entry>
		<id>http://opentransactions.org/wiki/index.php?title=Client-side_scripting&amp;diff=93&amp;oldid=prev</id>
		<title>Cryptoman: Created page with &quot;The ot script interpreter (&amp;quot;ot&amp;quot;) has access to the entire OT Client API, including the low-level ''and'' high-level APIs. In fact, the opentxs command-li...&quot;</title>
		<link rel="alternate" type="text/html" href="http://opentransactions.org/wiki/index.php?title=Client-side_scripting&amp;diff=93&amp;oldid=prev"/>
		<updated>2013-06-11T19:52:45Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The ot script interpreter (&amp;quot;ot&amp;quot;) has access to the entire OT Client API, including the low-level &amp;#039;&amp;#039;and&amp;#039;&amp;#039; high-level APIs. In fact, the &lt;a href=&quot;/wiki/Opentxs&quot; title=&quot;Opentxs&quot;&gt;opentxs&lt;/a&gt; command-li...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The ot script interpreter (&amp;amp;quot;ot&amp;amp;quot;) has access to the entire OT Client API, including the low-level ''and'' high-level APIs. In fact, the [[Opentxs|opentxs]] command-line tool itself is written in ot script, just like any other script.&lt;br /&gt;
&lt;br /&gt;
To make your own OT script, create a text file, and &amp;lt;code&amp;gt;chmod u+x filename&amp;lt;/code&amp;gt; in order to be able to run it as an executable. Then put this shebang at the top of the file: &amp;lt;code&amp;gt;#!/usr/bin/env ot&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can run that file like any other executable, just type: &amp;lt;code&amp;gt;./filename&amp;lt;/code&amp;gt; and the script will execute as an OT client, with full access to the OT [[API|low-level API]] as well as the OT [[Use Cases|high-level API]].&lt;br /&gt;
&lt;br /&gt;
OT is easy! Even a trained monkey can write OT-based scripts and client applications! If you want to see how the high-level API is used, check out the [https://github.com/FellowTraveler/Open-Transactions/blob/master/scripts/ot/ot_commands.ot code for the opentxs CLI tool] for example functions demonstrating all of the OT functionality. (In fact, you can actually CALL all those functions from your own OT scripts.)&lt;br /&gt;
&lt;br /&gt;
See also: [[Smart contracts]]&lt;/div&gt;</summary>
		<author><name>Cryptoman</name></author>
		
	</entry>
</feed>