Giter Site home page Giter Site logo

nicoeft / doors-vs-wheels Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 1.18 MB

Solana app in Anchor and React to democratically decide if there are more doors or wheels in the world

HTML 4.29% JavaScript 56.63% CSS 1.12% TypeScript 31.23% Rust 6.74%

doors-vs-wheels's People

Contributors

nicoeft avatar

Stargazers

 avatar  avatar

Watchers

 avatar

doors-vs-wheels's Issues

Test script doesn't work as expected

Hey! I was reading your tutorial at Medium and writing my Solana program. I've finished building but the test script didn't work as I expected. Then, I've checked my code to find any error but I couldn't be able to find. So, I've copied and pasted the contents of your lib.rs and doors-vs-wheels.ts files, and tested again, but it didn't work, too. I wonder if there is an API change. The first error message is below, all other errors are related to it:

1)  doors-vs-wheels
        Base user: Initialize OK - counter with 0 votes for doors and wheels:
     Error: Invalid arguments: votesCounter not provided.

Note: The doors-vs-wheels website is working. The only issue is about the test script.
Thank you for the great tutorial.
~ Berzan

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.