dltcollab / raam.client.js Goto Github PK
View Code? Open in Web Editor NEWIOTA-based messaging protocol, allowing access of arbitrary messages in O(1)
License: ISC License
IOTA-based messaging protocol, allowing access of arbitrary messages in O(1)
License: ISC License
$ node examples/simpleReadWrite.js
Seed: BXQILBEHWEGCMUIGRJSJFQKNRPUEJHCH9ZGJZVQTNUMSZ9CDFQDVUXJXFRHQDYUVXKRYV9TTKJORG9IUL
Channel root: CHZSXYPOZINNMHBUHFPCSOWXTWVAQVINYPEFFFPDTHKOOZJQAUOE9ZURTDOFEVZEQXUZCDJKIZDVOUFBCSMGXECZ9FOURVZYD9JTVYOEHMRDJLGCGOBEXMOJUHEXKAAENV9UVVQYUQNMJJWUKMIEAODM9LXAEZUX9W
Generated RAAM channel. Reading channel...
Cursor: 0
Messages: []
Publishing 2 messages...
Bundle 1: TKJIDKLY9FDPEFQXHLFILBVJL9OBWG9IRVCEFYZGJ9GFQVYAZCGJHPYYKKONOGKTCOLBEIFATYKEDHEJD
Bundle 2: FIYZEAIAGJRREHLZPISVGEPBVKCWBBDYJATZIVVO9DGKETJCWLXCGAGYCGFJKYQFIYSOJS9ARUZEDCLNW
Messages: [ 'HELLOIOTA', <2 empty items>, 'HELLOIOTAA' ]
Branch security: 1
Branch messages: []
Messages: []
Bundle 3: UXQQYLIKUUWL9KFPFWXNKQCKQINDFEXLB9CHNVUY9VGQLDUAXWVHLQHK9YAYVLJJHVXCIRPIOOFFOPWED
Message: []
[ { bundle:
'UXQQYLIKUUWL9KFPFWXNKQCKQINDFEXLB9CHNVUY9VGQLDUAXWVHLQHK9YAYVLJJHVXCIRPIOOFFOPWED',
error:
RangeError: Source is too large
at Int8Array.set (<anonymous>)
at processBundle (/Users/ender/raam.client.js/lib/message.js:277:22)
at Object.getMessage (/Users/ender/raam.client.js/lib/message.js:192:24) } ]
The latest version of package @iota/core
is 1.0.0-beta.12
, which conflicts with RAAM:
$ node examples/manualMessageConstruction.js
...
Getting message...
Bundle RDG9INNRSGYKJCBUWGRKAELCKUXLMWA9EQVKS9KVESYLSBLCPJLLQKKRGCZINECXZLPJYGFBRLTBPSB9W - RangeError: Source is too large
at Int8Array.set (<anonymous>)
at processBundle (raam.client.js/lib/message.js:261:26)
at Object.getMessage (raam.client.js/lib/message.js:176:30)
TypeError: Cannot read property 'index' of undefined
at examples/manualMessageConstruction.js:66:34
It works well when @iota/core
is rolled back to version "1.0.0-beta.11"
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.