Marcin Jasion - Pragmatic DevOps
    • Tags
    • 502 UPE
    • 503 UC
    • automation
    • aws
    • AWS VPC
    • blockchain
    • cloud
    • Cloud computing
    • Code Examples
    • Concurrency
    • Customer Gateway
    • debug
    • Distributed Computing
    • Distributed Systems
    • EC2 instance
    • ethereum
    • Fault Tolerance
    • gitlab
    • gmail
    • Go Programming
    • Golang
    • google app scripts
    • High Availability
    • how to
    • infrastructure security
    • introduction
    • IPSec parameters
    • IPSec protocol
    • istio
    • Kubernetes
    • Kubernetes API
    • Kubernetes Coordination
    • labels
    • Leader Election
    • Leader Election Pattern
    • Lease Locks
    • network security
    • parallelism
    • ping
    • Scalability
    • Site-to-Site VPN
    • solidity
    • tcpdump
    • terraform
    • terraform cloud
    • tutorial
    • Unifi Dream Machine
    • Unifi Dream Router
    • Unifi router
    • upe
    • Upstream connection termination
    • upstream_reset_before_response_started
    • Virtual Private Gateway
    • VPC routing
    • VPN connection
    • VPN setup
    • wireshark
    Hero Image
    Deploy your first blockchain contract to Ethereum

    First contract - Pet owners I am learning blockchain and smarcontract. This post will be my note how I am starting my journey to blockchain technology. In this example I will create a contract for storing who is owning a Pet. Development // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; //build contract on top of Solidity >=0.8.0 and <0.9.0 contract PetOwner { mapping (string => Pet) public petOwners; struct Pet { string name; string petType; } function addPetOwner(string memory ownerName, string memory _name, string memory _petType) public { petOwners[ownerName] = Pet({name: _name, petType: _petType}); } } Put it to the Remix IDE: https://remix.

    April 9, 2022 Read
    Navigation
    • About
    • Skills
    • Accomplishments
    • Presentations
    Contact me:
    • [email protected]