πŸ”¬
SecureChain.AI
  • πŸ™Welcome to SecureChain.AI
  • Overview
    • 😞The Problem
    • πŸ’‘The Solution
    • πŸš€Vision
    • 🎯Mission
    • πŸ€–AI in SecureChain AI
  • Ecosystem
    • πŸ’ΌWallet
    • ♾️Mainnet Info
    • πŸ§ͺTestnet Info
    • πŸŒ‰Cross-chain Bridge
    • πŸ’»Dapps
    • πŸ›‘οΈSecurity Services
  • Developer Guide
    • πŸ› οΈResources
    • ⛓️Consensus
    • 🏹Genesis
    • πŸ“¦SC20 Standard
    • πŸ“Smart Contracts
  • Governance
    • πŸ™οΈSecureChain Foundation
    • πŸ“‹The Validators
    • πŸͺ™SCAI Tokenomics
    • πŸ§˜β€β™‚οΈIntegrity and Compliance
  • Roadmap
    • πŸ₯‡2023
    • πŸ₯ˆ2024
    • πŸ₯‰2025
  • Help
    • ❔FAQ
    • πŸ‘¨β€πŸ’ΌCommunity Chat
  • Legal
    • βš–οΈTerms of Service
    • πŸ”Privacy Policy
    • πŸ›οΈDisclaimers
Powered by GitBook
On this page
  • New to Solidity?
  • Smart Contracts in SecureChain vs Ethereum
  • Remix
  1. Developer Guide

Smart Contracts

PreviousSC20 StandardNextSecureChain Foundation

Last updated 2 years ago

SecureChain supports Solidity based smart contracts. Smart contracts are self-executing computer programs that are built on top of blockchain. They operate based on a set of predetermined rules and conditions encoded into their software, which are automatically enforced when specific conditions are met.

New to Solidity?

Solidity is a high-level programming language that is used to write smart contracts on the SecureChain blockchain. This language is used in other EVM based blokchains as well. It is a contract-oriented language that is designed to be easy to learn and understand for developers.

Here are some great resources for learning Solidity:

  • The

  • Solidity for programmers

Smart Contracts in SecureChain vs Ethereum

SecureChain is EVM compatible blockchain as hence supports all the tools like Remix, truffle, hardhat, etc.

SecureChain supports all the solidity based smart contracts as Ethereum or any other EVM blockchains.

Remix

is an open source web and desktop application. It fosters a fast development cycle and has a rich set of plugins with intuitive GUIs. Remix is used for the entire journey of contract development as well as being a playground for learning and teaching contract development.

Create new file in file explorer. Edit contract info at right side.

Compile contract

  1. Click compiler button, switch UI

  2. Select contract you want to compile

  3. Set compile flags

  4. Click compile button

Deploy contract to blockchain via wallet such as MetaMask.

  1. Set network info in Metamask.

  2. Back to Remix.

    • Switch environment

    • Select contract

    • click deploy button

The contract can be deployed on the chain through MetaMask.

πŸ“
official Solidity docs
tutorial
Remix IDE