Mind
  • 👋Introduction
    • 🧠What is the Mind language?
  • 👟Getting Started With Mindtrade
    • 📈What is MindTrade?
    • 🤯What can I do with Mindtrade?
    • 🏗️Program structure
      • 🧱Program Components
      • 📀What is a Node?
        • ▶️Start Node
        • ⚙️Action Node
        • ❓Conditional Node
        • 🔚Output Node
      • 🔄Execution Flow
    • 👷‍♀️How to Create a Program?
      • 🔧Creating Projects
      • ✂️Editing Programs
        • ✨Chat to Program
      • ⚡Executing programs
    • 🗃️Templates
    • 🤫Secrets
  • ❓Nodes Details
    • 🔄Execution Control Nodes
      • Start node
      • Conditional node
      • Output Node
    • ⚙️Action Nodes
      • ☘️Common
        • Addition
        • Subtraction
        • Multiplication
        • Division
        • Power
        • Absolute Value
        • Random integer
        • Print Output
        • Print String
        • Wait
      • 💰Crypto
        • ⛓️On-chain
          • 🌐EVM
            • EVM Wallet
            • Get EVM Coin Balance
            • Send EVM Coin
            • 💲ERC20
              • Get ERC20 Allowance
              • ERC20 Approve
              • ERC20 Balance Of
              • ERC20 Total Supply
              • ERC20 Transfer
              • ERC20 Transfer From
              • Check balance and send
              • Send ERC20 USD Value
            • 💱Uniswap V2 DEX
              • UniV2 - Swap Tokens for Tokens
              • UniV2 - Buy Tokens for ETH
              • UniV2 - Sell Tokens For ETH
              • UniV2 - Limit Buy
              • UniV2 - Limit Sell
              • UniV2 - Catch Next Trade
              • UniV2 - Copy Trading
              • UniV2 - Get Token Bought in Trade
              • UniV2 - Get Token Sold in Trade
              • UniV2 - DCA With Coin
              • UniV2 - DCA With USDT
              • UniV2 - DCA Portfolio With Rebalancing
              • UniV2 - Get Price
              • UniV2 - Get Price Impact
              • UniV2 - Get Price Variation Percentage
              • UniV2 - Add LP ETH
              • UniV2 - Add LP Token
              • UniV2 - Remove LP ETH
              • UniV2 - Remove LP Token
              • Buy And Send ERC20 USD value
              • 📊Technical analysis
                • UniV2 - Get OHLCV Candles
                • UniV2 - Buy on Indicator Signal
                • UniV2 - Sell on indicator signal
          • ☀️Solana
            • Solana Wallet
            • Get SOL Balance
            • Send SOL
            • 💲SPL
              • Get SPL balance
              • Send SPL Token
            • 💱Jupiter DEX
              • Solana Get Token Price in USD
              • Solana Get Token Price
              • Solana Swap Tokens Jupiter
              • Solana Limit Order Jupiter
              • Solana - DCA With SOL
              • Solana - DCA with USDC
        • 💹CEX
          • CEX Instance
          • CEX Create Limit Buy Order
          • CEX Create Limit Sell Order
          • CEX Create Market Buy Order
          • CEX Create Market Sell Order
          • CEX Create Stop Limit Buy Order
          • CEX Create Stop Limit Sell Order
          • CEX Create Stop Market Buy Order
          • CEX Create Stop Market Sell Order
          • CEX Cancel Order
          • Cex cancel all orders
          • CEX DCA
          • CEX DCA portfolio with rebalancing
          • CEX Fetch Current Ask
          • CEX Fetch Current Ask Volume
          • CEX Fetch Current Bid
          • CEX Fetch Current Bid Volume
          • CEX Fetch Free Balance
          • CEX Fetch Total Balance
          • CEX Fetch Used Balance
          • CEX Get Price Variation Percentage
          • 📊Technical analysis
            • CEX - Get OHLCV Candles
            • CEX - Buy on indicator signal
            • CEX - Sell on indicator signal
        • 📊Technical analysis
          • Technical Analysis
          • Check indicator latest signal
      • 🫂Social
  • 🔠OBJECT TYPES
    • Introduction
    • Types
      • Secret
      • CryptoExchangeOrder
      • ExchangeType
      • CryptoExchangeTimeframe
      • CryptoExhange
      • BlockchainName
      • EVMAddress
      • EVMPrivateKey
      • EVMTransaction
      • EVMWallet
      • UniswapV2Trade
      • OHLCV
      • IndicatorName
      • OperatorType
      • IndicatorData
      • SolanaAddress
      • SolanaPrivateKey
      • SolanaTransaction
      • SolanaWallet
Powered by GitBook
On this page
  • Adding nodes
  • Adding edges
  • Setting node inputs
  • Chat To Program

Was this helpful?

  1. Getting Started With Mindtrade
  2. How to Create a Program?

Editing Programs

PreviousCreating ProjectsNextChat to Program

Last updated 9 months ago

Was this helpful?

This section demonstrates how to use all the functionalities offered by the Mindtrade project editor.

If you are not sure about how to create a project, please read the section.

Programs can be created and edited manually or using the AI-Powered Chat-To-Program feature.

This page shows how to create and edit programs manually. To learn how to exploit the Chat-To-Program feature, please refer to the subsection.

Adding nodes

To start exploring the available nodes and adding them to your program, open the node library clicking on the book icon at the top-right of the project editor.

You can search nodes by their names and description using the Search bar at the top, or filter them by their tags using the Filter by Tags feature. By clicking on the dropdown arrow next to Filter by Tags, you will see all the existing tags and be able to select one or more of them for filtering the nodes in the library.

To add a node to you program, just drag and drop it into the project editor.

Once you identified and added the nodes that you need in your program, you are ready to start adding edges between them in order to define the order of their execution, and specify the required node input values.

Adding edges

In order to add an edge between two nodes, just connect the dots on their borders.

Setting node inputs

Most of the nodes require specifying some input values in order to perform their tasks. To set a node input, click on the relative field inside the node. You will see an interface that lets you specify the input value in three different ways:

Static inputs are hand-typed values. Just type the value you want to use as input and click Confirm.

The Node option lets you select another node's output as input. You can identify nodes by the names displayed in the dropdown list. These names contain the node resource identifier and its name. The resource id part is useful to distinguish between multiple nodes with the same name that can be present in the graph.

Chat To Program

The Secret option lets you select one of the Secrets you saved in your Mindtrade account. Secrets are, as the name suggests, secret values like passwords or private keys that you can store in your account in order to be able to use them as node inputs across your different projects. For detailed information on how to create and manage you Secrets, please refer to the section.

Chat to Program is another way of building programs with very low effort. Visit the of the documentation to understand how it works in detail.

👟
👷‍♀️
✂️
Secrets
next section
Creating Projects
Chat To Program