aurora-is-near / aurora-cli-rs Goto Github PK
View Code? Open in Web Editor NEWCommand-line tool for interacting with the Aurora Engine
Command-line tool for interacting with the Aurora Engine
Arch users prefer to install everything via AUR, and basically it will be nice to have a simple command yay -S aurora-cli
instead of cloning this repo and manually installing.
The cli-rs do not count with unit testing, so it is required to write tests that can be run with the cargo test
command and that test behaviors at the command line. These should be exhaustive, meaning they should test for all the commands and options combinations and provide an acceptable coverage level, i.e., around 80% of the code in the src
folder.
Write a documentation that complies with the standards and it is publishable on the docs.rs site
Create documentation for:
Aurora Engine
specific commands - create a full list of available calls, their parametres and responsesNEAR Protocol
specific commandsAs a first-time coming user, I need detailed documentation and instructions on how to use aurora-cli
. As far as I can see currently it's two main commands: engine
and near
. And it means communication with Aurora Engine
smart contract, and NEAR Protocol
itself.
For now, to use aurora-cli
, I should deep diving to Aurora Engine
code to understand what functions, parameters, and responses I can use (Aurora Engine
do not have full-featured documentation for that). Especially how to use it with CLI commands, for example with "borshified" parameters.
It will be good to have documentation for all commands and parameters for it.
Also, it will be good to have documentation, instructions, and examples for each one for:
Aurora Engine
public methods, including views, their parameters, and responses.NEAR Protocol
public methods, including views, their parameters, and responses.Having this kind of documentation, that covers all cases of use for aurora-cli
makes this tool useful and convenient for real-world usage, for users that do not have enough context about Aurora Engine
and NEAR protocol
commands.
Write a .readme file that is equivalent in content to the previous version cli (https://github.com/aurora-is-near/aurora-cli) that is currently deprecated. We expect the file to contain the same sections and include usage examples equivalent to those here (https://github.com/aurora-is-near/aurora-engine#usage.) We expect the file to be compliant with the following specifications https://github.com/RichardLitt/standard-readme/blob/master/spec.md
Currently, aurora's documentation source is in the following repo https://github.com/aurora-is-near/doc.aurora.dev. We require a new section for the cli-rs that follows the same structure and style as the rest of the sections. It should explain how the cli is installed and used, including an exhaustive description of all the commands and options available to the final user.
Currently, the following command is required to install the cli: cargo install --git https://github.com/aurora-is-near/aurora-cli-rs.git
, but it would be simpler to host a binary at crates.io so it can be installed using the cargo add aurora
command. We require the corresponding .readme file, "version," "dependencies," and "dependants" sections in crates.io to be properly completed. Similarly, the links to the "documentation" ad "repository" should be added and accurate, as well as the "owner" and "categories" information.
Currently in docs directory located an example only for localnet.
Also should exist examples and how-to for NEAR blockchain networks: maintnet
and testnet
.
For real-world usage, it's important to have clear instructions how-to
on using and testing smart contracts (primarily Aurora Engine) for testnet
. And how to use it in production for mainnet
.
Testing....
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.