{"id":9618,"date":"2023-01-20T11:21:37","date_gmt":"2023-01-20T08:21:37","guid":{"rendered":"https:\/\/crypto-mining.blog\/?p=9618"},"modified":"2023-01-20T11:21:42","modified_gmt":"2023-01-20T08:21:42","slug":"aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network","status":"publish","type":"post","link":"https:\/\/crypto-mining.blog\/en\/software\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\/","title":{"rendered":"ALEO COIN \u2014 How to create a wallet and send transactions to the network"},"content":{"rendered":"<figure class=\"wp-block-post-featured-image\"><a href=\"https:\/\/crypto-mining.blog\/en\/software\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\/\" target=\"_self\"  ><img decoding=\"async\" width=\"300\" height=\"142\" src=\"https:\/\/crypto-mining.blog\/wp-content\/uploads\/2023\/01\/aleo-website-zpynb1yolce2c5d5.png\" class=\"attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"ALEO COIN \u2014 How to create a wallet and send transactions to the network\" style=\"object-fit:cover;\" srcset=\"\/\/crypto-mining.blog\/wp-content\/uploads\/2023\/01\/aleo-website-zpynb1yolce2c5d5.png 1200w, \/\/crypto-mining.blog\/wp-content\/uploads\/2023\/01\/aleo-website-zpynb1yolce2c5d5-300x142.png 300w, \/\/crypto-mining.blog\/wp-content\/uploads\/2023\/01\/aleo-website-zpynb1yolce2c5d5-1024x484.png 1024w, \/\/crypto-mining.blog\/wp-content\/uploads\/2023\/01\/aleo-website-zpynb1yolce2c5d5-768x363.png 768w, \/\/crypto-mining.blog\/wp-content\/uploads\/2023\/01\/aleo-website-zpynb1yolce2c5d5-769x363.png 769w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/figure>\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-16018d1d wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-outline is-style-outline--1\"><!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9naXRodWIuY29tL0FsZW9IUQ==\" class=\"wp-block-button__link has-white-color has-vivid-green-cyan-background-color has-text-color has-background wp-element-button\"  target=\"_blank\" rel=\"noreferrer noopener\"><strong>DOWNLOAD<\/strong><\/a><\/noindex><!--\/noindex--><\/div>\n\n\n\n<div class=\"wp-block-button is-style-outline is-style-outline--2\"><!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9naXRodWIuY29tL0FsZW9IUQ==\" class=\"wp-block-button__link has-white-color has-black-background-color has-text-color has-background wp-element-button\"  target=\"_blank\" rel=\"noreferrer noopener\"><strong>GITHUB ALEO<\/strong><\/a><\/noindex><!--\/noindex--><\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Aleo SDK<\/strong><\/h2>\n\n\n\n<p>The Aleo SDK is a developer platform that makes it easy to create a new account, create a transaction, and broadcast it to the network.&nbsp;For more information about Aleo, visit the Welcome to Aleo page to get started.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Welcome to Aleo<\/strong><!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9kZXZlbG9wZXIuYWxlby5vcmcvb3ZlcnZpZXcv\"  target=\"_blank\" rel=\"noreferrer noopener\">HTTPS:\/\/DEVELOPER.ALEO.ORG\/OVERVIEW\/<\/a><\/noindex><!--\/noindex--><\/p>\n<cite><!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9kZXZlbG9wZXIuYWxlby5vcmcvb3ZlcnZpZXcv\"  target=\"_blank\" rel=\"noreferrer noopener\">HTTPS:\/\/DEVELOPER.ALEO.ORG\/OVERVIEW\/<\/a><\/noindex><!--\/noindex--><\/cite><\/blockquote>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"426\" src=\"https:\/\/crypto-mining.blog\/wp-content\/uploads\/2023\/01\/image-28-1024x426.png\" alt=\"\" class=\"wp-image-9612\" srcset=\"\/\/crypto-mining.blog\/wp-content\/uploads\/2023\/01\/image-28-1024x426.png 1024w, \/\/crypto-mining.blog\/wp-content\/uploads\/2023\/01\/image-28-300x125.png 300w, \/\/crypto-mining.blog\/wp-content\/uploads\/2023\/01\/image-28-768x320.png 768w, \/\/crypto-mining.blog\/wp-content\/uploads\/2023\/01\/image-28-1536x640.png 1536w, \/\/crypto-mining.blog\/wp-content\/uploads\/2023\/01\/image-28-769x320.png 769w, \/\/crypto-mining.blog\/wp-content\/uploads\/2023\/01\/image-28.png 1880w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Aleo assembly guide<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1 Install Rust<\/strong><\/h3>\n\n\n\n<p>We recommend installing Rust with&nbsp;&nbsp;<!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly93d3cucnVzdHVwLnJzLw==\"  target=\"_blank\" rel=\"noreferrer noopener\">rustup<\/a><\/noindex><!--\/noindex-->&nbsp;&nbsp;.&nbsp;You can install&nbsp;&nbsp;<code>rustup<\/code>like this:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>macOS or Linux:curl &#8211;proto &#8216;=https&#8217; &#8211;tlsv1.2 -sSf https:\/\/sh.rustup.rs |&nbsp;sh<\/li>\n\n\n\n<li>Windows (64-bit): Download&nbsp; the 64-bit&nbsp;&nbsp;or&nbsp;&nbsp;<!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly93aW4ucnVzdHVwLnJzL2k2ODY=\"  target=\"_blank\" rel=\"noreferrer noopener\">32-bit Windows&nbsp;<\/a><\/noindex><!--\/noindex--><!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly93aW4ucnVzdHVwLnJzL3g4Nl82NA==\"  target=\"_blank\" rel=\"noreferrer noopener\">executable<\/a><\/noindex><!--\/noindex-->&nbsp;&nbsp;and follow the on-screen instructions.<!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly93aW4ucnVzdHVwLnJzL2k2ODY=\"  target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/noindex><!--\/noindex--><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2 Building from source<\/strong><\/h3>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>GitHub Aleo<\/strong><\/p>\n<cite><!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9naXRodWIuY29tL0FsZW9IUS9hbGVvL3JlbGVhc2Vz\"  target=\"_blank\" rel=\"noreferrer noopener\">HTTPS:\/\/GITHUB.COM\/ALEOHQ\/ALEO\/<\/a><\/noindex><!--\/noindex--><\/cite><\/blockquote>\n\n\n\n<p>We recommend installing&nbsp;&nbsp;<code>aleo<\/code>this way.&nbsp;In your terminal, run:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># Download the source code\ngit clone https:\/\/github.com\/AleoHQ\/aleo.git\n\n# Enter the 'aleo' directory\ncd aleo\n\n# Install 'aleo'\ncargo install --path .<\/pre>\n\n\n\n<p>Now to use&nbsp;&nbsp;<code>aleo<\/code>, in your terminal run:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">come on<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Aleo User Guide<\/strong><\/h2>\n\n\n\n<p>An Aleo&nbsp;&nbsp;<strong>account<\/strong>&nbsp;&nbsp;consists of&nbsp; an account&nbsp;<!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9kZXZlbG9wZXIuYWxlby5vcmcvY29uY2VwdHMvYWNjb3VudHMjYWNjb3VudC1wcml2YXRlLWtleQ==\"  target=\"_blank\" rel=\"noreferrer noopener\">private key<\/a><\/noindex><!--\/noindex-->&nbsp;, an &nbsp;account&nbsp;&nbsp;<!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9kZXZlbG9wZXIuYWxlby5vcmcvY29uY2VwdHMvYWNjb3VudHMjYWNjb3VudC12aWV3LWtleQ==\"  target=\"_blank\" rel=\"noreferrer noopener\">view key<\/a><\/noindex><!--\/noindex-->&nbsp;, &nbsp;and an account&nbsp;&nbsp;<!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9kZXZlbG9wZXIuYWxlby5vcmcvY29uY2VwdHMvYWNjb3VudHMjYWNjb3VudC1hZGRyZXNz\"  target=\"_blank\" rel=\"noreferrer noopener\">address<\/a><\/noindex><!--\/noindex-->&nbsp;&nbsp;.<\/p>\n\n\n\n<p>The account&#8217;s private key is used to authorize a transaction that updates the global state of the account&#8217;s records.&nbsp;The account view key is used to decrypt account entries that are encrypted under the user&#8217;s account address.&nbsp;Finally, the account address allows users to interact with each other by sending and receiving records that encode application values \u200b\u200band data.<\/p>\n\n\n\n<p>To protect user&nbsp;&nbsp;<em>assets<\/em>&nbsp;&nbsp;and&nbsp;&nbsp;<em>record data<\/em>&nbsp;&nbsp;,&nbsp;&nbsp;<strong>you should never disclose your account&#8217;s private key to<\/strong>&nbsp;&nbsp;third parties.&nbsp;For real applications on Aleo, users must obtain a compute key from their account&#8217;s private key to allow third parties to&nbsp;&nbsp;<em>insecurely<\/em>&nbsp;&nbsp;run applications and generate transactions on behalf of the user.<\/p>\n\n\n\n<p>Create a new Aleo account&nbsp;&nbsp;<!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9hbGVvaHEuZ2l0aHViLmlvL2FsZW8v\"  target=\"_blank\" rel=\"noreferrer noopener\">here<\/a><\/noindex><!--\/noindex-->&nbsp;:&nbsp;<!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9hbGVvLnRvb2xzLw==\"  target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/aleo.tools\/<\/a><\/noindex><!--\/noindex--><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1 Create a new Aleo account<\/strong><\/h3>\n\n\n\n<p>To create a new Aleo account, run:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">aleo account new [FLAGS] [OPTIONS]<\/pre>\n\n\n\n<p>The command can be run with the following optional parameters:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>FLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nOPTIONS:\n    -s, --seed &lt;seed&gt;\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2 Create and build a new project<\/strong><\/h3>\n\n\n\n<p>To create a new project, we will use&nbsp;&nbsp;<code>new<\/code>the command.&nbsp;Our project:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">aleo new foo<\/pre>\n\n\n\n<p><strong>This will create the foo<\/strong>&nbsp;directory&nbsp;&nbsp;&nbsp;and files with the basic project structure:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>README.md contains<\/strong>&nbsp;&nbsp;a skeleton README with compilation instructions.<\/li>\n\n\n\n<li><strong>main.aleo is<\/strong>&nbsp;&nbsp;the main source code file.<\/li>\n\n\n\n<li><strong>program.json<\/strong>&nbsp;&nbsp;containing the project identification in JSON format.&nbsp;In particular, the address of the developer and his private key for the program.<\/li>\n<\/ul>\n\n\n\n<p>The main.aleo file should have the following content:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ The 'foo.aleo' program.\nprogram foo.aleo;\n\nfunction hello:\n    input r0 as u32.public;\n    input r1 as u32.private;\n    add r0 r1 into r2;\n    output r2 as u32.private;\n<\/code><\/pre>\n\n\n\n<p>To compile the project, run in the main directory:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">aleo build<\/pre>\n\n\n\n<p>You will see output like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#x23f3; Compiling 'foo.aleo'...\n \u2022 Loaded universal setup (in 1478 ms)\n \u2022 Built 'hello' (in 3250 ms)\n&#x2705; Built 'foo.aleo' (in \"~\/foo\")\n<\/code><\/pre>\n\n\n\n<p>First, a &#8220;universal install&#8221; is loaded into your environment.&nbsp;You can read more about it&nbsp;&nbsp;<!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly93d3cuYWxlby5vcmcvcG9zdC9hbm5vdW5jaW5nLWFsZW8tc2V0dXA=\"  target=\"_blank\" rel=\"noreferrer noopener\">here<\/a><\/noindex><!--\/noindex-->&nbsp;&nbsp;or in&nbsp;&nbsp;<!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9lcHJpbnQuaWFjci5vcmcvMjAxOS8xMDQ3LnBkZg==\"  target=\"_blank\" rel=\"noreferrer noopener\">the Marlin article<\/a><\/noindex><!--\/noindex-->&nbsp;&nbsp;.<\/p>\n\n\n\n<p>Once the generic install is ready, each function in your&nbsp;&nbsp;<em>main.aleo<\/em>&nbsp;file &nbsp;will be created, generating this in the output folder:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>hello.prover proving<\/strong>&nbsp;&nbsp;the function&nbsp;&nbsp;<code>hello<\/code>.<\/li>\n\n\n\n<li><strong>hello.verifier<\/strong>&nbsp;&nbsp;&#8211;&nbsp;&nbsp;<code>hello<\/code>function verifier.<\/li>\n\n\n\n<li><strong>main.avm<\/strong>&nbsp;&nbsp;is the bytecode of your aleo program that the virtual machine will run.<\/li>\n<\/ul>\n\n\n\n<p>As you may have guessed,&nbsp;&nbsp;<code>.avm<\/code>we have only one file for the entire program, but each function has its own prover and verifier.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3 Starting the program<\/strong><\/h3>\n\n\n\n<p>You can run a program with a&nbsp;&nbsp;<code>aleo run<\/code>command followed by the name of the function you want to execute and its input parameters.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">aleo run hello 2u32 3u32<\/pre>\n\n\n\n<p>When the execution completes, you should see the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&#x1f680; Executing 'foo.aleo\/hello'...\n \u2022 Calling 'foo.aleo\/hello'...\n \u2022 Executed 'hello' (in 1170 ms)\n&#x27a1;&#xfe0f;  Output\n \u2022 5u32\n&#x2705; Executed 'foo.aleo\/hello' (in \"[...]\/foo\")<\/pre>\n\n\n\n<p>As you can see, the output register has been assigned&nbsp;&nbsp;<code>5u32<\/code>a value representing the sum of the inputs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>4 Program overview<\/strong><\/h3>\n\n\n\n<p>Let&#8217;s look at the foo program inside the&nbsp;&nbsp;<em>main.aleo<\/em>&nbsp;file &nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ The 'foo.aleo' program.\nprogram foo.aleo;\n\nfunction hello:\n    input r0 as u32.public;\n    input r1 as u32.private;\n    add r0 r1 into r2;\n    output r2 as u32.private;\n<\/code><\/pre>\n\n\n\n<p>First, we need to declare the program like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>program foo.aleo;\n<\/code><\/pre>\n\n\n\n<p>After that, we can start writing its functions (or other Aleo structures like structs, records, closures, as we&#8217;ll see later).<\/p>\n\n\n\n<p>In the case of functions, everything is very simple:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>function &#91;function_name]:\n<\/code><\/pre>\n\n\n\n<p>Functions consist of three main parts:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Input section<\/strong>&nbsp;Here we declare its input parameters:&nbsp;<code>input r0 as u32.public; input r1 as u32.private;&nbsp;<\/code>Everything in Aleo instructions is declared\/stored inside a register with type (&nbsp;&nbsp;<code>i8<\/code>,&nbsp;&nbsp;<code>field<\/code>,&nbsp;&nbsp;<code>bool<\/code>etc.) and visibility option (&nbsp;&nbsp;<code>public<\/code>or&nbsp;&nbsp;<code>private<\/code>), registers are named&nbsp;&nbsp;<code>r0<\/code>,&nbsp;&nbsp;<code>r1<\/code>, \u2026,&nbsp;&nbsp;<code>rn<\/code>. In this case, we use&nbsp;&nbsp;<code>r0<\/code>and&nbsp;&nbsp;<code>r1<\/code>for storing the input data passed in sequential order to the program as&nbsp;&nbsp;<code>u32<\/code>values, where we can store unsigned 32-bit integers to perform our sum operation.<\/li>\n\n\n\n<li><strong>Instruction<\/strong>&nbsp;section The next section consists of the core of our function, here we call the number of Aleo instructions we need to make our program do what we want.&nbsp;For example, performing an addition operation:&nbsp;<code>add r0 r1 into r2;&nbsp;<\/code>Each Aleo instruction is followed by its input parameters with specific types, and the result is stored in the&nbsp;&nbsp;<em>into register.&nbsp;<\/em>You can find all available aleo instructions&nbsp;&nbsp;<!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9oYWNrbWQuaW8vQGFsZW8vU0owbXJZUnY1I3Nocg==\"  target=\"_blank\" rel=\"noreferrer noopener\">here<\/a><\/noindex><!--\/noindex-->&nbsp;&nbsp;.<\/li>\n\n\n\n<li><strong>Output section<\/strong>&nbsp;Like the input section, the output section does the same for the program&#8217;s output.&nbsp;This is the return of the function.<code>&nbsp;output r2 as u32.private;<\/code><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>5 Types<\/strong><\/h3>\n\n\n\n<p>Aleo uses a strongly typed syntax.&nbsp;The language supports 16 primitive types and allows users to define their own types.<\/p>\n\n\n\n<p>Primitive Aleo types include:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>address\nboolean\nfield\ngroup\ni8\ni16\ni32\ni64\ni128\nu8\nu16\nu32\nu64\nu128\nscalar\nstring\n<\/code><\/pre>\n\n\n\n<p><code>structs<\/code>Users can define custom types using the or&nbsp;&nbsp;keywords&nbsp;&nbsp;<code>record<\/code>.&nbsp;We will cover them in the next few sections.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">1 Registers<\/h4>\n\n\n\n<p>Registers are places where you store data so that you can change it later.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">2 Interfaces<\/h4>\n\n\n\n<p>Interfaces are user-defined data structures.&nbsp;They are very similar to traditional structures in conventional programming languages.&nbsp;You can store structures in registers like any other Aleo data type.<\/p>\n\n\n\n<p>For example, let&#8217;s create a structure that represents a fixed-size array of 3 elements.&nbsp;Add this at the bottom of&nbsp;&nbsp;<em>your main.aleo<\/em>&nbsp;file &nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>struct array3:\n    a0 as u32;\n    a1 as u32;\n    a2 as u32;\n<\/code><\/pre>\n\n\n\n<p>Now, just as an example, let&#8217;s write a function that adds one to each element of a register with&nbsp;&nbsp;<code>array3<\/code>a data type stored in it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>function sum_one_to_array3:\n    input r0 as array3.private;\n    add r0.a0 1u32 into r1;\n    add r0.a1 1u32 into r2;\n    add r0.a2 1u32 into r3;\n    cast r1 r2 r3 into r4 as array3;\n    output r4 as array3.private;\n<\/code><\/pre>\n\n\n\n<p>As you can see, we can enter a structure into a register&nbsp;&nbsp;<code>r0<\/code>and access the members of the structure using&nbsp;&nbsp;<code>.<\/code>syntax.&nbsp;We execute the&nbsp;&nbsp;<code>add<\/code>instruction for each element, storing the results in registers&nbsp;&nbsp;<code>r1<\/code>,&nbsp;&nbsp;<code>r2<\/code>and&nbsp;&nbsp;<code>r3<\/code>finally use the cast command to create a new&nbsp;&nbsp;<code>array3<\/code>structure in&nbsp;&nbsp;<code>r4<\/code>.<\/p>\n\n\n\n<p>Now let&#8217;s run it.&nbsp;In this case, the only new thing you need to know is that structures are passed to the CLI in the following format:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\"{a0: 1u32, a1: 2u32, a2: 3u32}\"\n<\/code><\/pre>\n\n\n\n<p>Now we can execute&nbsp;&nbsp;<code>aleo run<\/code>the command.&nbsp;We&#8217;ll clean up the project to pick up the new code:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>aleo clean &amp;&amp; aleo run sum_one_to_array3 \"{a0: 0u32, a1: 1u32, a2: 2u32}\"\n<\/code><\/pre>\n\n\n\n<p>And we get the new&nbsp;&nbsp;<code>array3<\/code>element as output:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#x1f680; Executing 'foo.aleo\/sum_one_to_array3'...\n \u2022 Calling 'foo.aleo\/sum_one_to_array3'...\n \u2022 Executed 'sum_one_to_array3' (in 1331 ms)\n&#x27a1;&#xfe0f;  Output\n \u2022 {\n  a0: 1u32,\n  a1: 2u32,\n  a2: 3u32\n}\n&#x2705; Executed 'foo.aleo\/sum_one_to_array3' (in \"&#91;...]\/foo\")\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>3 Entries<\/strong><\/h4>\n\n\n\n<p>A record is the main data structure for encoding custom assets and application state.&nbsp;They are very similar to structs, but have two optional parameters:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>record token:\n    owner as address.private\n    gates as u64.private\n<\/code><\/pre>\n\n\n\n<p>refers to the&nbsp;&nbsp;<code>owner<\/code>Aleo address the entry belongs to and&nbsp;&nbsp;<code>gates<\/code>is the amount of credits the entry must spend.<\/p>\n\n\n\n<p>Records are important because they are Aleo&#8217;s basic structure for managing state in your application.<\/p>\n\n\n\n<p>When executing the Aleo function, only records belonging to the application address can be transferred as input registers.&nbsp;Otherwise, an error will occur and the application will not start.<\/p>\n\n\n\n<p>You can find the address of your development application inside the&nbsp;&nbsp;<em>program.json<\/em>&nbsp;file &nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"program\": \"foo.aleo\",\n    \"version\": \"0.0.0\",\n    \"description\": \"\",\n    \"development\": {\n        \"private_key\": \"APrivateKey1zkpFsQNXJwdvjKs9bRsM91KcwJW1gW4CDtF3FJbgVBAvPds\",\n        \"address\": \"aleo1x5nz5u4j50w482t5xtqc3jdwly9s8saaxlgjz0wvmuzmxv2l5q9qmypx09\"\n    },\n    \"license\": \"MIT\"\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>4 State of Aleo<\/strong><\/h4>\n\n\n\n<p>In Aleo, application state is managed using entries.&nbsp;An Aleo account can create a transaction to use an entry and create a new entry in its place.&nbsp;Records in Aleo are encrypted at the address of the owner of the record, which guarantees complete confidentiality of all records in Aleo.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>6 Your first Aleo program: translating<\/strong><\/h3>\n\n\n\n<p>Consider this program:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ The 'foo.aleo' program.\nprogram foo.aleo;\nrecord token:\n    owner as address.private;\n    gates as u64.private;\n    amount as u64.private;\nfunction transfer_amount:\n    \/\/  sender token record\n    input r0 as token.record;\n    \/\/ receiver address\n    input r1 as address.private;\n    \/\/ amount to transfer\n    input r2 as u64.private;\n    \/\/ final balance of sender\n    sub r0.amount r2 into r3;\n    \/\/ final balance of receiver\n    add 0u64 r2 into r4;\n    \/\/ sender token record after the transfer\n    cast r0.owner r0.gates r3 into r5 as token.record;\n    \/\/ receiver token record after the transfer\n    cast r1 0u64 r4 into r6 as token.record;\n    \/\/ sender new token record\n    output r5 as token.record;\n    \/\/ receiver new token record\n    output r6 as token.record;\n<\/code><\/pre>\n\n\n\n<p>First, we define our own record data type named&nbsp;&nbsp;<code>token<\/code>, which has two optional parameters&nbsp;&nbsp;<code>owner<\/code>and&nbsp;&nbsp;<code>gates<\/code>, as well as a user-defined parameter named&nbsp;&nbsp;<code>amount<\/code>, representing the number of tokens we have.<\/p>\n\n\n\n<p>This&nbsp;&nbsp;<code>transfer_amount<\/code>function takes 3 input parameters (&nbsp;&nbsp;<code>sender<\/code>write,&nbsp;&nbsp;<code>receiver<\/code>write and&nbsp;&nbsp;<code>amount<\/code>) and stores them in 3 registers (&nbsp;&nbsp;<code>r0<\/code>,&nbsp;&nbsp;<code>r1<\/code>and&nbsp;&nbsp;<code>r2<\/code>).&nbsp;After that, it calculates the final balance for both of them and stores it in&nbsp;&nbsp;<code>r3<\/code>and&nbsp;&nbsp;<code>r4<\/code>(using the&nbsp;&nbsp;<strong>sub<\/strong>&nbsp;&nbsp;and&nbsp;&nbsp;<strong>add instructions<\/strong>&nbsp;&nbsp;to calculate the subtraction and addition, respectively).&nbsp;With these final amounts, it creates output records for the sender and receiver, saving them in files&nbsp;&nbsp;<code>r5<\/code>and&nbsp;&nbsp;<code>r6<\/code>.&nbsp;<strong>Finally, both entries are sent out of the function along with the output<\/strong>&nbsp;instruction&nbsp; .<strong><\/strong><\/p>\n\n\n\n<p>To run this function, the first parameter is the input entry of the program.&nbsp;The format of this parameter is the same as for structure types:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  owner: aleo1x5nz5u4j50w482t5xtqc3jdwly9s8saaxlgjz0wvmuzmxv2l5q9qmypx09.private,\n  gates: 0u64.private,\n  amount: 50u64.private\n}\n<\/code><\/pre>\n\n\n\n<p>Where:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>owner: The public address of the program, as specified&nbsp;&nbsp;<code>development.address<\/code>in the build\/program.json file.<\/li>\n\n\n\n<li>gate: the gate that the record has.<\/li>\n\n\n\n<li>other parameters: depending on the program itself (in this example, we used the&nbsp;&nbsp;<em>amount<\/em>&nbsp;parameter &nbsp;with a value of 50).<\/li>\n<\/ul>\n\n\n\n<p>Let&#8217;s run&nbsp;&nbsp;<code>transfer_amount<\/code>the function (if you&#8217;re following, don&#8217;t forget to use the address found in program.json for the owner field):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">aleo clean &amp;&amp; aleo run transfer_amount \"{\nowner: aleo1x5nz5u4j50w482t5xtqc3jdwly9s8saaxlgjz0wvmuzmxv2l5q9qmypx09.private,\ngates: 0u64.private,\namount: 50u64.private\n}\" aleo1h3gu7fky36y8r7v2x9phc434fgf20g8qd7c7u45v269jfw6vmugqjegcvp 10u64<\/pre>\n\n\n\n<p>We get the following output records:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#x1f680; Executing 'foo.aleo\/transfer_amount'...\n \u2022 Calling 'foo.aleo\/transfer_amount'...\n \u2022 Executed 'transfer_amount' (in 3520 ms)\n&#x27a1;&#xfe0f;  Outputs\n \u2022 {\n  owner: aleo1x5nz5u4j50w482t5xtqc3jdwly9s8saaxlgjz0wvmuzmxv2l5q9qmypx09.private,\n  gates: 0u64.private,\n  amount: 40u64.private\n  _nonce: 2293253577170800572742339369209137467208538700597121244293392265726446806023group.public\n}\n \u2022 {\n  owner: aleo1h3gu7fky36y8r7v2x9phc434fgf20g8qd7c7u45v269jfw6vmugqjegcvp.private,\n  gates: 0u64.private,\n  amount: 10u64.private\n  _nonce: 2323253577170856894742339369235137467208538700597121244293392765726742543235group.public\n}\n&#x2705; Executed 'foo.aleo\/transfer_amount' (in \"&#91;...]\/foo\")\n<\/code><\/pre>\n\n\n\n<p>That&#8217;s all.&nbsp;You have transferred your first own tokens to Aleo!<\/p>\n\n\n\n<p>Note:&nbsp;&nbsp;<code>_nonce<\/code>Aleo manual does not say.&nbsp;The compiler outputs _nonce in the entry&#8217;s output.&nbsp;The user must provide it as input when using the record.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Aleo instructions<\/strong><\/h2>\n\n\n\n<p>Learn the most important Aleo concepts.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9kZXZlbG9wZXIuYWxlby5vcmcvY29uY2VwdHMvYWNjb3VudHM=\"  target=\"_blank\" rel=\"noreferrer noopener\">&#x1f4c4;&#xfe0f; Accounts&nbsp;<\/a><\/noindex><!--\/noindex--><!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9kZXZlbG9wZXIuYWxlby5vcmcvY29uY2VwdHMvYWNjb3VudHM=\"  target=\"_blank\" rel=\"noreferrer noopener\">\/&nbsp;<\/a><\/noindex><!--\/noindex--><!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9kZXZlbG9wZXIuYWxlby5vcmcvY29uY2VwdHMvYWNjb3VudHM=\"  target=\"_blank\" rel=\"noreferrer noopener\">Aleo account consists of account private key, account view key,<\/a><\/noindex><!--\/noindex--><\/li>\n\n\n\n<li><!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9kZXZlbG9wZXIuYWxlby5vcmcvY29uY2VwdHMvcHJvZ3JhbXM=\"  target=\"_blank\" rel=\"noreferrer noopener\">&#x1f4c4;&#xfe0f; A program is a fundamental data structure for representing the logic and state of an application.<\/a><\/noindex><!--\/noindex--><\/li>\n\n\n\n<li><!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9kZXZlbG9wZXIuYWxlby5vcmcvY29uY2VwdHMvcmVjb3Jkcw==\"  target=\"_blank\" rel=\"noreferrer noopener\">&#x1f4c4;&#xfe0f; Record is the main data structure for encoding custom assets and application state.<\/a><\/noindex><!--\/noindex--><\/li>\n\n\n\n<li><!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9kZXZlbG9wZXIuYWxlby5vcmcvY29uY2VwdHMvdHJhbnNhY3Rpb25z\"  target=\"_blank\" rel=\"noreferrer noopener\">&#x1f4c4;&#xfe0f; A transaction is a fundamental data structure for publishing state changes to the registry.<\/a><\/noindex><!--\/noindex--><\/li>\n\n\n\n<li><!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9kZXZlbG9wZXIuYWxlby5vcmcvY29uY2VwdHMvdHJhbnNpdGlvbnM=\"  target=\"_blank\" rel=\"noreferrer noopener\">&#x1f4c4;&#xfe0f; Transition Components<\/a><\/noindex><!--\/noindex--><\/li>\n\n\n\n<li><!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly9kZXZlbG9wZXIuYWxlby5vcmcvY29uY2VwdHMvYmxvY2tz\"  target=\"_blank\" rel=\"noreferrer noopener\">&#x1f4c4;&#xfe0f; Blocks are the fundamental data structure for organizing a transaction<\/a><\/noindex><!--\/noindex--><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusions and thoughts about AleoCoin<\/strong><\/h2>\n\n\n\n<p>I&#8217;ve been mining Aleo since last week at https:\/\/aleo.zionodes.com\/ and they&#8217;re giving away around 8-13 credits per day (10,000 c\/s each).\u00a0By the end of my contract, I should have over 320 credits (roughly) that will be converted at a 5:1 ratio to a coin.\u00a0So, by the launch of the main network, I should have about 60-65 coins.\u00a0While I think the upside potential is huge, how much do you think each coin will be worth?\u00a0According to the current forecast, each coin is expected to be worth between $40 and $60.\u00a0If you guys have already explored Aleo like me, how far do you think the project will go?\u00a0FYI: they have already raised about $290 million from investors.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>If you like to read such articles and want to support the author, then you can subscribe to our telegram channel and recommend us to your friends, this will help a lot to support our project! Telegram: <!--noindex--><noindex><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/crypto-mining.blog\/LINKURL\/aHR0cHM6Ly90Lm1lL2NyeXB0b21pbmVn\"  target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"undefined (Opens in new tab)\"><strong>CRYPTO WIKIES | Bitcoin &amp; Altcoins Mining<\/strong><\/a><\/noindex><!--\/noindex--><\/p><cite><strong>Be the first to know all the news, read more about cryptocurrencies and mining at <a href=\"https:\/\/crypto-mining.blog\/en\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"undefined (opens in a new tab)\">CRYPTO-MINING.BLOG<\/a>.<\/strong><\/cite><\/blockquote>\n\n\n\n<div class=\"wp-block-query is-layout-flow wp-block-query-is-layout-flow\"><ul class=\"wp-block-post-template is-layout-flow wp-block-post-template-is-layout-flow\"><li class=\"wp-block-post post-19326 post type-post status-publish format-standard has-post-thumbnail hentry category-cryptocurrency-wallets category-user-manuals category-review category-software tag-bitgesell-bgl-en tag-bitgesell-bgl-wallet-en\">\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\"><figure class=\"wp-block-post-featured-image\"><a href=\"https:\/\/crypto-mining.blog\/en\/software\/bgl-wallet-bitgesell-how-to-download-install-and-use-the-official-wallet\/\" target=\"_self\"  ><img decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/crypto-mining.blog\/wp-content\/uploads\/2026\/04\/bgl-wallet-kak-skachat-ustanovit-i-polzovatsya-oficzialnym-koshelkom-image-2-300x300.png\" class=\"attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"BGL Wallet (Bitgesell): How to Download, Install, and Use the Official Wallet\" style=\"object-fit:cover;\" srcset=\"\/\/crypto-mining.blog\/wp-content\/uploads\/2026\/04\/bgl-wallet-kak-skachat-ustanovit-i-polzovatsya-oficzialnym-koshelkom-image-2-300x300.png 300w, \/\/crypto-mining.blog\/wp-content\/uploads\/2026\/04\/bgl-wallet-kak-skachat-ustanovit-i-polzovatsya-oficzialnym-koshelkom-image-2-120x120.png 120w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/figure><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\"><h2 class=\"wp-block-post-title\"><a href=\"https:\/\/crypto-mining.blog\/en\/software\/bgl-wallet-bitgesell-how-to-download-install-and-use-the-official-wallet\/\" target=\"_self\" >BGL Wallet (Bitgesell): How to Download, Install, and Use the Official Wallet<\/a><\/h2><\/div>\n<\/div>\n\n<\/li><li class=\"wp-block-post post-18969 post type-post status-publish format-standard has-post-thumbnail hentry category-cryptocurrencies category-cryptocurrency-wallets category-user-manuals category-software tag-dapps-en tag-defi-en tag-metamask-en\">\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\"><figure class=\"wp-block-post-featured-image\"><a href=\"https:\/\/crypto-mining.blog\/en\/software\/metamask-crypto-wallet-installation-and-usage-guide-for-web3\/\" target=\"_self\"  ><img decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/crypto-mining.blog\/wp-content\/uploads\/2026\/03\/metamask2026walletf483d1b4-d4c3-4676-a299-d8752b3b78cb-300x300.png\" class=\"attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"MetaMask Crypto Wallet \u2013 Installation and Usage Guide for Web3\" style=\"object-fit:cover;\" srcset=\"\/\/crypto-mining.blog\/wp-content\/uploads\/2026\/03\/metamask2026walletf483d1b4-d4c3-4676-a299-d8752b3b78cb-300x300.png 300w, \/\/crypto-mining.blog\/wp-content\/uploads\/2026\/03\/metamask2026walletf483d1b4-d4c3-4676-a299-d8752b3b78cb-120x120.png 120w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/figure><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\"><h2 class=\"wp-block-post-title\"><a href=\"https:\/\/crypto-mining.blog\/en\/software\/metamask-crypto-wallet-installation-and-usage-guide-for-web3\/\" target=\"_self\" >MetaMask Crypto Wallet \u2013 Installation and Usage Guide for Web3<\/a><\/h2><\/div>\n<\/div>\n\n<\/li><li class=\"wp-block-post post-18931 post type-post status-publish format-standard has-post-thumbnail hentry category-cryptocurrencies category-mining category-amd-gpus-en category-antminer-asic-en category-cpu-mining-en category-mining-on-gpu category-nvidia-gpus-en category-review tag-alephium-alph-en tag-bitcoin-btc-en tag-dash-en tag-dogecoin-doge-en tag-dynex-dnx-en tag-ethereum-classic-etc-en tag-flux-flux-en tag-grin tag-kaspa-kas-en tag-litecoin tag-microvisionchain-space-en tag-mining-ravencoin-rvn-en tag-monero-xmr-en tag-neurai-nrn-en tag-nexa-coin-nexa-en tag-phicoin-phi-en tag-proof-of-work-pow-en tag-vertcoin-vtc-en tag-zcash-zec-en\">\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\"><figure class=\"wp-block-post-featured-image\"><a href=\"https:\/\/crypto-mining.blog\/en\/mining\/the-most-profitable-coins-for-mining-in-2026-a-review-and-comparison\/\" target=\"_self\"  ><img decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/crypto-mining.blog\/wp-content\/uploads\/2026\/03\/samye-pribylnye-monety-dlya-majninga-v-2026-obzor-i-sravnenie-300x300.png\" class=\"attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"The Most Profitable Coins for Mining in 2026: A Review and Comparison\" style=\"object-fit:cover;\" srcset=\"\/\/crypto-mining.blog\/wp-content\/uploads\/2026\/03\/samye-pribylnye-monety-dlya-majninga-v-2026-obzor-i-sravnenie-300x300.png 300w, \/\/crypto-mining.blog\/wp-content\/uploads\/2026\/03\/samye-pribylnye-monety-dlya-majninga-v-2026-obzor-i-sravnenie-120x120.png 120w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/figure><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\"><h2 class=\"wp-block-post-title\"><a href=\"https:\/\/crypto-mining.blog\/en\/mining\/the-most-profitable-coins-for-mining-in-2026-a-review-and-comparison\/\" target=\"_self\" >The Most Profitable Coins for Mining in 2026: A Review and Comparison<\/a><\/h2><\/div>\n<\/div>\n\n<\/li><\/ul><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The Aleo SDK is a developer platform that makes it easy to create a new account, create a transaction, and broadcast it to the network.\u00a0For more information about Aleo, visit the Welcome to Aleo page to get started.<\/p>\n","protected":false},"author":2,"featured_media":9609,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,4564,8031,42,10],"tags":[8319],"class_list":["post-9618","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cryptocurrencies","category-cryptocurrency-wallets","category-user-manuals","category-review","category-software","tag-aleo-sdk-en"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ALEO COIN \u2014 How to create a wallet and send transactions to the network<\/title>\n<meta name=\"description\" content=\"The Aleo SDK is a developer platform that makes it easy to create a new account, create a transaction, and broadcast it to the network.\u00a0For more information about Aleo, visit the Welcome to Aleo page to get started.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crypto-mining.blog\/en\/software\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ALEO COIN \u2014 How to create a wallet and send transactions to the network\" \/>\n<meta property=\"og:description\" content=\"The Aleo SDK is a developer platform that makes it easy to create a new account, create a transaction, and broadcast it to the network.\u00a0For more information about Aleo, visit the Welcome to Aleo page to get started.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crypto-mining.blog\/en\/software\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\/\" \/>\n<meta property=\"og:site_name\" content=\"CRYPTO MINING BLOG\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-20T08:21:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-20T08:21:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crypto-mining.blog\/wp-content\/uploads\/2023\/01\/aleo-website-zpynb1yolce2c5d5.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"567\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"CRYPTO MINING BLOG\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"CRYPTO MINING BLOG\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/software\\\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/software\\\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\\\/\"},\"author\":{\"name\":\"CRYPTO MINING BLOG\",\"@id\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/#\\\/schema\\\/person\\\/9f660b842db38e47a561a4f462d90d28\"},\"headline\":\"ALEO COIN \u2014 How to create a wallet and send transactions to the network\",\"datePublished\":\"2023-01-20T08:21:37+00:00\",\"dateModified\":\"2023-01-20T08:21:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/software\\\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\\\/\"},\"wordCount\":1856,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/#\\\/schema\\\/person\\\/9f660b842db38e47a561a4f462d90d28\"},\"image\":{\"@id\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/software\\\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/crypto-mining.blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/aleo-website-zpynb1yolce2c5d5.png\",\"keywords\":[\"ALEO SDK\"],\"articleSection\":[\"Cryptocurrencies\",\"Cryptocurrency Wallets\",\"Guides\",\"Review\",\"Software\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/software\\\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/software\\\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\\\/\",\"url\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/software\\\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\\\/\",\"name\":\"ALEO COIN \u2014 How to create a wallet and send transactions to the network\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/software\\\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/software\\\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/crypto-mining.blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/aleo-website-zpynb1yolce2c5d5.png\",\"datePublished\":\"2023-01-20T08:21:37+00:00\",\"dateModified\":\"2023-01-20T08:21:42+00:00\",\"description\":\"The Aleo SDK is a developer platform that makes it easy to create a new account, create a transaction, and broadcast it to the network.\u00a0For more information about Aleo, visit the Welcome to Aleo page to get started.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/software\\\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/software\\\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/software\\\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\\\/#primaryimage\",\"url\":\"https:\\\/\\\/crypto-mining.blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/aleo-website-zpynb1yolce2c5d5.png\",\"contentUrl\":\"https:\\\/\\\/crypto-mining.blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/aleo-website-zpynb1yolce2c5d5.png\",\"width\":1200,\"height\":567,\"caption\":\"ALEO COIN - \u041a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043a\u043e\u0448\u0435\u043b\u0435\u043a \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438 \u0432 \u0441\u0435\u0442\u044c\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/software\\\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f\",\"item\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Software\",\"item\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/software\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"ALEO COIN \u2014 How to create a wallet and send transactions to the network\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/\",\"name\":\"CRYPTO-MINING.BLOG\",\"description\":\"Your guide to cryptocurrency mining\",\"publisher\":{\"@id\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/#\\\/schema\\\/person\\\/9f660b842db38e47a561a4f462d90d28\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/#\\\/schema\\\/person\\\/9f660b842db38e47a561a4f462d90d28\",\"name\":\"CRYPTO MINING BLOG\",\"logo\":{\"@id\":\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/#\\\/schema\\\/person\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/crypto-mining.blog\\\/en\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ALEO COIN \u2014 How to create a wallet and send transactions to the network","description":"The Aleo SDK is a developer platform that makes it easy to create a new account, create a transaction, and broadcast it to the network.\u00a0For more information about Aleo, visit the Welcome to Aleo page to get started.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crypto-mining.blog\/en\/software\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\/","og_locale":"en_US","og_type":"article","og_title":"ALEO COIN \u2014 How to create a wallet and send transactions to the network","og_description":"The Aleo SDK is a developer platform that makes it easy to create a new account, create a transaction, and broadcast it to the network.\u00a0For more information about Aleo, visit the Welcome to Aleo page to get started.","og_url":"https:\/\/crypto-mining.blog\/en\/software\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\/","og_site_name":"CRYPTO MINING BLOG","article_published_time":"2023-01-20T08:21:37+00:00","article_modified_time":"2023-01-20T08:21:42+00:00","og_image":[{"width":1200,"height":567,"url":"https:\/\/crypto-mining.blog\/wp-content\/uploads\/2023\/01\/aleo-website-zpynb1yolce2c5d5.png","type":"image\/png"}],"author":"CRYPTO MINING BLOG","twitter_card":"summary_large_image","twitter_misc":{"Written by":"CRYPTO MINING BLOG","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/crypto-mining.blog\/en\/software\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\/#article","isPartOf":{"@id":"https:\/\/crypto-mining.blog\/en\/software\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\/"},"author":{"name":"CRYPTO MINING BLOG","@id":"https:\/\/crypto-mining.blog\/en\/#\/schema\/person\/9f660b842db38e47a561a4f462d90d28"},"headline":"ALEO COIN \u2014 How to create a wallet and send transactions to the network","datePublished":"2023-01-20T08:21:37+00:00","dateModified":"2023-01-20T08:21:42+00:00","mainEntityOfPage":{"@id":"https:\/\/crypto-mining.blog\/en\/software\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\/"},"wordCount":1856,"commentCount":0,"publisher":{"@id":"https:\/\/crypto-mining.blog\/en\/#\/schema\/person\/9f660b842db38e47a561a4f462d90d28"},"image":{"@id":"https:\/\/crypto-mining.blog\/en\/software\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\/#primaryimage"},"thumbnailUrl":"https:\/\/crypto-mining.blog\/wp-content\/uploads\/2023\/01\/aleo-website-zpynb1yolce2c5d5.png","keywords":["ALEO SDK"],"articleSection":["Cryptocurrencies","Cryptocurrency Wallets","Guides","Review","Software"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/crypto-mining.blog\/en\/software\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/crypto-mining.blog\/en\/software\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\/","url":"https:\/\/crypto-mining.blog\/en\/software\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\/","name":"ALEO COIN \u2014 How to create a wallet and send transactions to the network","isPartOf":{"@id":"https:\/\/crypto-mining.blog\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/crypto-mining.blog\/en\/software\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\/#primaryimage"},"image":{"@id":"https:\/\/crypto-mining.blog\/en\/software\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\/#primaryimage"},"thumbnailUrl":"https:\/\/crypto-mining.blog\/wp-content\/uploads\/2023\/01\/aleo-website-zpynb1yolce2c5d5.png","datePublished":"2023-01-20T08:21:37+00:00","dateModified":"2023-01-20T08:21:42+00:00","description":"The Aleo SDK is a developer platform that makes it easy to create a new account, create a transaction, and broadcast it to the network.\u00a0For more information about Aleo, visit the Welcome to Aleo page to get started.","breadcrumb":{"@id":"https:\/\/crypto-mining.blog\/en\/software\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crypto-mining.blog\/en\/software\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crypto-mining.blog\/en\/software\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\/#primaryimage","url":"https:\/\/crypto-mining.blog\/wp-content\/uploads\/2023\/01\/aleo-website-zpynb1yolce2c5d5.png","contentUrl":"https:\/\/crypto-mining.blog\/wp-content\/uploads\/2023\/01\/aleo-website-zpynb1yolce2c5d5.png","width":1200,"height":567,"caption":"ALEO COIN - \u041a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043a\u043e\u0448\u0435\u043b\u0435\u043a \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438 \u0432 \u0441\u0435\u0442\u044c"},{"@type":"BreadcrumbList","@id":"https:\/\/crypto-mining.blog\/en\/software\/aleo-coin-how-to-create-a-wallet-and-send-transactions-to-the-network\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f","item":"https:\/\/crypto-mining.blog\/en\/"},{"@type":"ListItem","position":2,"name":"Software","item":"https:\/\/crypto-mining.blog\/en\/software\/"},{"@type":"ListItem","position":3,"name":"ALEO COIN \u2014 How to create a wallet and send transactions to the network"}]},{"@type":"WebSite","@id":"https:\/\/crypto-mining.blog\/en\/#website","url":"https:\/\/crypto-mining.blog\/en\/","name":"CRYPTO-MINING.BLOG","description":"Your guide to cryptocurrency mining","publisher":{"@id":"https:\/\/crypto-mining.blog\/en\/#\/schema\/person\/9f660b842db38e47a561a4f462d90d28"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crypto-mining.blog\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/crypto-mining.blog\/en\/#\/schema\/person\/9f660b842db38e47a561a4f462d90d28","name":"CRYPTO MINING BLOG","logo":{"@id":"https:\/\/crypto-mining.blog\/en\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/crypto-mining.blog\/en\/"]}]}},"_links":{"self":[{"href":"https:\/\/crypto-mining.blog\/en\/wp-json\/wp\/v2\/posts\/9618","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crypto-mining.blog\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crypto-mining.blog\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crypto-mining.blog\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/crypto-mining.blog\/en\/wp-json\/wp\/v2\/comments?post=9618"}],"version-history":[{"count":0,"href":"https:\/\/crypto-mining.blog\/en\/wp-json\/wp\/v2\/posts\/9618\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/crypto-mining.blog\/en\/wp-json\/wp\/v2\/media\/9609"}],"wp:attachment":[{"href":"https:\/\/crypto-mining.blog\/en\/wp-json\/wp\/v2\/media?parent=9618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crypto-mining.blog\/en\/wp-json\/wp\/v2\/categories?post=9618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crypto-mining.blog\/en\/wp-json\/wp\/v2\/tags?post=9618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}