Git Product home page Git Product logo

nft's People

Contributors

thekie 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  avatar  avatar

nft's Issues

ParserError: Expected ',' but got identifier --> project:/contracts/Date.sol:44:34:

Hi,
I followed along on the YouTube video to learn how to create Dapps but got an error while running "truffle test" for the Date contract. Out put below

PS C:\DPUMD\FirstTruffle> truffle test
Using network 'test'.

Compiling your contracts...

Compiling .\contracts\Date.sol
Compiling .\contracts\Date.sol
Compiling .\contracts\Migrations.sol

ParserError: Expected ',' but got identifier
--> project:/contracts/Date.sol:44:34:
|
44 | require(msg.value == (10 finney), "claiming a date costs 10 finney");
| ^^^^^^

Compilation failed. See above.
Truffle v5.4.3 (core: 5.4.3)
Node v14.17.3

Is there a declaration for "10 finney" missing?
Your correspondence is appreciated

TypeError: Operator + not compatible with types int256 and uint256

Line 151 has a type error??
TypeError: Operator + not compatible with types int256 and uint256
--> project:/contracts/Date.sol:151:23:
|
151 | year = uint16(int(yoe) + era * 400 + (month <= 2 ? 1 : 0));
| ^^^^^^^^^^^^^^^^^^^^

After about a week turning this over, referencing the fundamentals and documentation, I still don't have a solution for this. The lack of comments in the code notwithstanding, I'd like to know how you made it work. Are the differences between Mac and Windows that substantial?

compile error

I've downloaded the latest version of contract. Error reported when compile:
`

Compiling ./contracts/Date.sol
Compiling ./contracts/Migrations.sol

project:/contracts/Date.sol:40:47: ParserError: Expected '{' but got reserved keyword 'override'
function _baseURI() internal view virtual override returns (string memory) {
^------^

Compilation failed. See above.
Truffle v5.4.24 (core: 5.4.24)
Node v16.13.1
`
how to solve this problem?

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.