Giter VIP home page Giter VIP logo

metacoin-box's Introduction

MetaCoin Box

This is an example of a completed coin-like contract built using Truffle. Note that this is not ERC-20 compatible, so it is not expected to interact with other coin/token contracts.

Requirements

The MetaCoin box has the following requirements:

Helpful, but optional:

Setup

Installation

$ truffle unbox metacoin

Deployment

To deploy locally, start a local instance of ganache by running ganache Then, simply call truffle migrate

Testing

This box has examples for testing your smart contracts in both Javascript and Solidity.

To run the tests locally, call truffle test

Support

Need help? Get in touch with the Truffle community by posting on Github Discussions!

metacoin-box's People

Contributors

adrianmcli avatar benjamincburns avatar cds-amal avatar cgcardona avatar cgewecke avatar cruzmolina avatar dstawinski avatar ecouffes avatar eggplantzzz avatar emilyjlin95 avatar gnidan avatar kanhirun avatar onlyonejmjq avatar sukanyaparashar avatar wbt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

metacoin-box's Issues

Cannot compile the solidity files with Truffle v4.1.15 : Solidity v0.4.25 (solc-js)

Issue
The solidity files cannot be compiled with Truffle v4.1.15: solc-js compiler version 0.4.25,
due to the PR https://github.com/truffle-box/metacoin-box/pull/11/files: updating the pragma.

Environment

  • Truffle v4.1.15 (core: 4.1.15)
  • Solidity v0.4.25 (solc-js)

Proposal
Fix the solidity version as described below:
pragma solidity >=0.4.25 <0.6.0;

Truffle v4.1.15 is maintenance version of the Truffle v4.
Truffle have released this version in order to allow users of v4 to continue to use truffle unbox and truffle init.
Therefore, i think Metacoin-box had better support Truffle v4.1.15.

https://github.com/trufflesuite/truffle/releases/tag/v4.1.15

License

Hi,

Could you please clarify which license this box (and all the other official ones, ideally) are licensed under?

Thanks ❤️

Error in testing

when i run truffle test then it give error

truffle(develop)> truffle test
Error: ENOENT: no such file or directory, stat 'C:\Users\PANKAJ~1.THA\AppData\Local\Temp\test-118012-4848-1su7qri.7joq\ConvertLib.json'
truffle(develop)> $ truffle test
Using network 'develop'.
0 passing (0ms)

Truffle cant find URL

$ sudo truffle unbox metacoin
Downloading...
Error: Truffle Box at URL https://github.com/truffle-box/metacoin-box doesn't exist. If you believe this is an error, please contact Truffle support.

I'm ablt to clone the git repo from the same terminal but truffle won't unbox. Must be some issue.

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.