Skip to main content
Version: 1.0

Deploy

The deployment of smart contracts on the Wireshape blockchain represents a pivotal transition from development to production, enabling developers to bring their decentralized applications (dApps) to life. This guide delves into the deployment process on Wireshape, which is uniquely designed to support a scalable and robust infrastructure for dApps and smart contracts. Utilizing a Proof of Authority (PoA) consensus mechanism and ensuring compatibility with the Ethereum Virtual Machine (EVM), Wireshape offers an optimal environment for deploying blockchain solutions.

note

Currently, the Wireshape ecosystem includes the Wireshape Floripa Testnet, which is publicly available for testing, while the Wireshape mainnet is under development and yet to be launched.

Understanding the Wireshape Ecosystem

Wireshape's blockchain ecosystem is engineered to accommodate the demands of modern dApps and smart contracts, offering two primary networks for developers:

Wireshape Floripa Testnet: A publicly available testing ground where developers can deploy, test, and refine their applications in a real blockchain environment without incurring the costs associated with the mainnet deployment.

Wireshape Mainnet: Currently under development, the mainnet will serve as the production environment for dApps and smart contracts, providing a secure and scalable platform for real-world applications and transactions.

Deployment Prerequisites

  • Proficiency in Solidity for smart contract development.

  • Completed and thoroughly tested smart contract code.

  • A Wireshape-compatible wallet with sufficient WIRE tokens for deployment fees (applicable for the mainnet).

  • Connection setup for either the Wireshape Floripa Testnet or the upcoming mainnet in your development environment.

Deployment Steps

1. Pre-Deployment Checks

Ensure your smart contracts are optimized for gas usage, security audited, and free from vulnerabilities. Compile your contracts to generate the necessary artifacts (ABI and bytecode) for deployment.

2. Configure Your Deployment Environment

Choose a deployment framework compatible with EVM, such as Truffle or Hardhat, and configure it to connect to the Wireshape network. This involves setting up network configurations specific to either the Floripa Testnet or the mainnet (once available).

3. Deploying to the Network

Testnet Deployment: Deploy your smart contracts to the Floripa Testnet to test them in a realistic blockchain environment. Utilize the Wireshape Faucet to obtain testnet WIRE tokens needed for deployment transactions.

Network Name: Floripa Testnet
RPC URL: https://rpc-floripa.wireshape.org/
Chain ID: 49049
Currency Symbol: WIRE
Block Explorer URL: https://floripa-explorer.wireshape.org
tip

You can fund your wallet with testnet WIRE tokens for free on Wireshape Faucet.

Mainnet Deployment: Once the Wireshape mainnet launches, follow similar steps to deploy your smart contracts, ensuring you have sufficient WIRE tokens for the deployment fees.

4. Post-Deployment Activities

After deploying your smart contracts, verify their functionality and monitor their performance. For contracts deployed on the testnet, iterate based on feedback and testing results. For those on the mainnet, focus on optimizing contract interactions and managing version updates carefully.

Best Practices for Deployment

  • Security First: Prioritize security audits and peer reviews to mitigate potential risks.

  • Gas Efficiency: Optimize your contracts for gas efficiency to reduce deployment and operational costs.

  • Iterative Testing: Utilize the Floripa Testnet extensively to ensure your contracts are ready for mainnet deployment.

  • Monitoring and Maintenance: Post-deployment, continuously monitor contract performance and be prepared for necessary updates or optimizations.

For additional resources, support, and guidelines on deploying smart contracts on Wireshape, visit our developer portal or reach out to our dedicated support team.