Giter Site home page Giter Site logo

scripts's People

Contributors

whoabuddy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

scripts's Issues

autominingclaimer: canClaimMiningReward err: TypeError:

Hi,

I tried running the autominingclaimer script and got a TypeError. I can probably dig into the script to figure out what is going on but thought I'd share it here..

Set custom fee? (default 0.100000 STX) … no
-------------------------
4/28/2022 3:49:01 PM
currentBlockHeight: 57957
Checking 0 unclaimed blocks...
-------------------------
block 1 of 0
block: undefined
canClaimMiningReward err: TypeError: Invalid value type. Must be a number, bigint, integer-string, hex-string, BN.js instance, or Buffer.

Create scripts that match function names

This would be a great place to pull data from the API and write simple scripts for each contract function, like claim-mining-reward.js or similar.

This would give a great example of how to prepare post conditions for and call any function in a non-GUI environment, and act as a nice contrast to the functionality of the CityCoins UI.

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.