An Introduction to MultiBaas

April 6, 2020 · William Metcalfe

This is a brief 10 minute introduction to our product MultiBaas. We show you how you can use MultiBaas to deploy and interact with a Solidity smart contract on the Ethereum Rinkeby test network.

For more information you can take a look at our documentation or sign up for a free MultiBaas deployment on console.curvegrid.com.

Links from the video

Solidity programming language

MetaMask Wallet

Rinkeby Faucet

Sample smart contract

This is an untested sample contract for demonstration purposes. Please do not use it for any production applications! You can copy the contents to HelloMultiBaas.sol to try it out.

pragma solidity ^0.5.11;

/// @title HelloMultiBaas
/// @dev Hello MultiBaas sample contract
contract HelloMultiBaas {
  address public owner;
  string public phrase;

  /// @dev Sets the default phrase upon deployment
  constructor() public {
    owner = msg.sender;
    phrase = "Hello MultiBaas";
  }

  /// @dev Changes the public phrase
  function changePhrase(string calldata _phrase) external onlyOwner {
    phrase = _phrase;
  }

  /// @dev Reverts if called by any account other than the owner.
  modifier onlyOwner() {
      if (msg.sender != owner) {
          revert();
      }

      _;
  }

}
// Copyright (c) 2020 Curvegrid Inc.