Skip to content

NeoResearch/NeoSim.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NeoSim.js

Neo AVM simulator on JavaScript. This project is intended to run together with NeoVM.js, and some external storage service, that will accomplish the part of the Application Engine information available at heavy RPC nodes. This is a safer alternative to testinvoke on RPC, and it will run on any browser.

Dependencies: npm install big-integer

Test with StackItem:

nodejs

var StackItem = require('./stackitem.js')

var x = new StackItem(400)

x.ToByteArray() // [ 1, 144 ]

Test with NeonSimPrice:

neonjs

const NeonSimPrice = require('./neon-sim.js')

NeonSimPrice.execute(NeonSimPrice.example())

About

Neo AVM simulator on JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors