ricmoo / ethers-meow Goto Github PK
View Code? Open in Web Editor NEWA simple command-line interface and library for CryptoKitties using ethers.js.
License: MIT License
A simple command-line interface and library for CryptoKitties using ethers.js.
License: MIT License
Are these calls going to the cryptokitties API, or are they just doing raw commands ?
I was curious if there was a way to find out who gifted you a kitty?
Currently defaults to 35 Gwei. Suggested value is 25 Gwei as per this article from cryptokitties team https://medium.com/@CryptoKitties/cryptokitties-birthing-fees-increases-in-order-to-accommodate-demand-acc314fcadf5
Please make options object (or at least gas price) overridable in Manager.prototype.giveBirth()
I want to use the function getKittyIds to get the list of cats of given address, but I get an empty array. Can you help me to find why?
I followed your instructions but got a load of error messages when the install runs.
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere. [C:\User
s\a\AppData\Roaming\npm\node_modules\ethers-meow\node_modules\sha3\build\binding.sln]
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\nodejs\node.exe" "C:\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\a\AppData\Roaming\npm\node_modules\ethers-meow\node_modules\sha3
gyp ERR! node -v v6.11.4
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
Any help?
Thanks to dev for sharing, great work!
API
Manager.prototype.bidOnSale(kittyId);
Manager.prototype.startSaleAuction(kittyId, startPrice, endPrice, duration);
Manager.prototype.cancelSaleAuction(kittyId);
Manager.prototype.bidOnSiring(kittyId);
Manager.prototype.startSiringAuction(kittyId, startPrice, endPrice, duration);
Manager.prototype.cancelSiringAuction(kittyId);
Command-Line Interface
sale-bid KITTY_ID
sale-auction KITTY_ID START_PRICE END_PRICE DURATION
sale-cancel KITTY_ID
sire-bid KITTY_ID
sire-auction KITTY_ID START_PRICE END_PRICE DURATION
sire-cancel KITTY_ID
Other things:
Poking around, if it's an option, I can't find it.. how do you import an existing mnemonic wallet?
What is required to invoke meow.js from the command line? Must node.js be installed on the server? Thanks
I have a silly question. It seems that your code is calling certain functions in the Core contract without a wallet or sending ethers, e.g. getKitty and getStatus.
Is this the case? And how can this be?
Thanks.
I notice the Account.json creates a new account, but how do we add an existing account?
From the command line, run the constant gene sciences functions with given inputs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.