Comments (3)
Sure we can do something.
where would live zksync.js
? would this be part of a npm module or a helper that would be located in the remix file system?
from remix-project.
Actually thinking about this further, two command syntax approaches are possible:
-
Follow the JS syntax, ie. expect the following syntax:
<module-name>.<command>(<parameter-list>)
-
Follow the "CLI convention", ie expect:
<module-name> <command> <parameter1> <parameter2>...
Regarding the sourcing of the module JS file, I can imagine the following:
a) Publish the <module-name>.js
as npm
package and specify the package reference in the plugin descriptor
b) Publish the <module-name>.js
together with plugin UI, and specify URL in the plugin descriptor
c) Put the <module-name>.js
in remix workspace, following some convention (eg. /commands/module-name.js
) and allow calling commands from there.
Option c) is imho the least favourable for our case, as we would like the commands to be bundled with the plugin, in a way which is transparent to the user...
from remix-project.
thanks for the details!
The module wouldn't be editable by the end user right?
solution a) could already work in some ways. If you already have such a NPM package, I would be happy to give it a try.
from remix-project.
Related Issues (20)
- Too many AI's at top of Remix editor HOT 3
- Remix & front end dev
- fail to load dapp deployed by dapp-draft if the function's instructions contain no-english characters
- Injected Provider missing in Remix IDE on browser HOT 4
- Matomo update
- .MD files not highlighting in File Explorer
- Please delete
- convert folder to workspace
- I can't run script in terminal HOT 2
- BUG: Text cursor lagging behind its actual position HOT 4
- error while activating plugin from home tab
- Unable to Deploy Contracts on Custom Network HOT 5
- Documentation for pinning contracts HOT 1
- remix vm cancun abi.decode revert HOT 11
- transact button not vertically centered
- Link to Bridges
- scrollbar style is not right
- Cloning workspace in vyper
- Basic input
- Add zksync-ethers v5.7.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remix-project.