Giter Site home page Giter Site logo

truffle-assignment's Introduction

Smart Contract with Truffle

In this assignment, the following steps were followed :

  1. Installing, Downloading all the dependencies via npm for Truffle following - Tutorial 1
  • truffle init no longer creates a scaffolding which includes initial Migrations files so instead I used truffle unbox

  • Developed a basic Helloworld contract and compiled it and deployed it on the dev net on my local machine.

  • Used constructors and included checks which would check if the message has minimum ether value and also to check if the owner is the sender

  1. Deploying and Managing Migrations - Tutorial 2
  • Developed another smart contract called HelloworldPermanent with a static message.

  • Deployed both contracts in the same build script using arrow functions in the dev net

  1. Developing unit test cases - Tutorial 3
  • Developed 2 unit test cases - one asserts if the message is correct and the other checks if the 1st account is the owner

  1. Deployed an example smart contract in the Testnet by following - https://docs.chainstack.com/tutorials/ethereum/asset-tokenization-with-embark
  • Speedy nodes are no longer supported by Moralis

truffle-assignment's People

Contributors

kaushikmanchiraju avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.