aurora-is-near / aurora-cli Goto Github PK
View Code? Open in Web Editor NEWAurora Engine command-line interface (CLI).
Home Page: https://aurora-is-near.github.io/aurora-cli/
License: Creative Commons Zero v1.0 Universal
Aurora Engine command-line interface (CLI).
Home Page: https://aurora-is-near.github.io/aurora-cli/
License: Creative Commons Zero v1.0 Universal
root@cfb95a1aec96:/usr/local/lib/node_modules# npm install -g aurora-is-near/aurora-cli
npm WARN tar TAR_ENTRY_INFO stripping / from absolute path
npm WARN tar ENOENT: Cannot cd into '/usr/local/lib/node_modules/@auroraisnear/cli/node_modules/@aurora-is-near/engine'
npm WARN tarball tarball data for @aurora-is-near/engine@git+ssh://[email protected]/aurora-is-near/aurora.js.git#46df44a17a77a7009acad8c1f920da0c92068378 (null) seems to be corrupted. Trying again.
npm WARN tar TAR_ENTRY_INFO stripping / from absolute path
npm WARN tar TAR_ENTRY_INFO stripping / from absolute path
npm WARN tar TAR_ENTRY_INFO stripping / from absolute path
npm WARN tar TAR_ENTRY_INFO stripping / from absolute path
npm WARN tar TAR_ENTRY_INFO stripping / from absolute path
npm WARN tar TAR_ENTRY_INFO stripping / from absolute path
npm WARN tar TAR_ENTRY_INFO stripping / from absolute path
npm WARN tar TAR_ENTRY_INFO stripping / from absolute path
npm WARN tar TAR_ENTRY_INFO stripping / from absolute path
npm WARN tar ENOENT: Cannot cd into '/usr/local/lib/node_modules/@auroraisnear/cli/node_modules/@aurora-is-near/engine'
npm WARN tarball tarball data for @aurora-is-near/engine@git+ssh://[email protected]/aurora-is-near/aurora.js.git#46df44a17a77a7009acad8c1f920da0c92068378 (null) seems to be corrupted. Trying again.
npm ERR! code ENOENT
npm ERR! path /usr/local/lib/node_modules/@auroraisnear/cli/node_modules/@aurora-is-near/engine
npm ERR! enoent ENOENT: Cannot cd into '/usr/local/lib/node_modules/@auroraisnear/cli/node_modules/@aurora-is-near/engine'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-12-14T07_34_32_360Z-debug.log
root@cfb95a1aec96:/usr/local/lib/node_modules# ls
@aurora-is-near near-cli yarn
Hi @artob @mrLSD @mikedotexe @antonpaisov Please help! i was trying to intsall this CLI on liunx OS. but its not installing.. Giving some errors.
node version which i am using v14.0.0
npm version which i am using 6.14.4
Update the aurora.js
version in package.json
.
My understanding of Rainbow Bridge is that eth token
in solidity
are bridged as near-wrapped-eth-token
written in rust
.
Is there a way to programaticlly call
the near-wrapped-eth-token
interfaces/functions
from a 3rd party solidity contract
running on Aurora.
If I just install aurora-cli
with npm install aurora-is-near/aurora-cli
on a system with no ~/near_modules
directory and run the commands as described in Deploying the EVM with the CLI I get the following error:
$ aurora install --chain 1313161556 --owner test.near release.wasm
/home/admin/node_modules/borsh/lib/index.js:261
throw new BorshError(`Class ${obj.constructor.name} is missing in schema`);
^
BorshError: Class InitCallArgs is missing in schema
at serializeStruct (/home/admin/node_modules/borsh/lib/index.js:261:15)
at Object.serialize (/home/admin/node_modules/borsh/lib/index.js:287:5)
at InitCallArgs.encode (file:///home/admin/node_modules/@aurora-is-near/engine/lib/schema.js:6:37)
at file:///home/admin/node_modules/@aurora-is-near/engine/lib/engine.js:76:166
at Engine.promiseAndThen (file:///home/admin/node_modules/@aurora-is-near/engine/lib/engine.js:84:26)
at processTicksAndRejections (node:internal/process/task_queues:94:5)
at async Engine.initialize (file:///home/admin/node_modules/@aurora-is-near/engine/lib/engine.js:76:20)
at async Command.<anonymous> (file:///home/admin/node_modules/@aurora-is-near/cli/lib/aurora.js:29:33) {
fieldPath: [],
originalMessage: 'Class InitCallArgs is missing in schema'
}
documenting the release process.
After recent update aurora
command fails:
const { Table } = require('console-table-printer');
^
ReferenceError: require is not defined in ES module scope, you can use import instead
aurora.js
file is autogenerated, so probably replacing require
with import
manually doesn't make sense.
Attempts to run npm install -g aurora-is-near/aurora-cli
with and without sudo
are not successful if using nodejs15/16+npm7.*
It only works when using nodejs14+npm6.*
Is aurora-cli
supposed to work with 7.* npm versions?
% aurora dump-storage
...
TypedError: [-32000] Server error: State of contract aurora is too large to be viewed
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.