diff --git a/dist/assets/index-2Jz8bIBG.js b/dist/assets/index-DXAmR2xR.js similarity index 99% rename from dist/assets/index-2Jz8bIBG.js rename to dist/assets/index-DXAmR2xR.js index d77d6e87..58af4664 100644 --- a/dist/assets/index-2Jz8bIBG.js +++ b/dist/assets/index-DXAmR2xR.js @@ -3626,4 +3626,4 @@ void main() { } } } - `,variables:{limit:5,offset:0,network:"ethclassic",from:"2024-04-05T10:04:56.000Z",till:"2024-04-05T10:34:56.999Z",dateFormat:"%Y-%m-%d"}})}function Vg(){let n=mm();const e=n.scene,t=n.camera,i=n.renderer,r=n.lights,s=new Mm(e,t),a=new bm(e,t,s);let o="http://localhost:3080/getData_ETH",l="https://res-lenses-backend.resilientdb.com/getData_RESDB";Fs(l,f=>{s.loadData(f),a.isDataLoaded=!0,fetch("../tooltips.json").then(d=>d.text()).then(d=>{let b=JSON.parse(d);kg(s,a,f,b,l,o)})});function c(f){a.onMouseMove(f)}function h(f){a.onMouseDown(f)}function u(f){a.onMouseUp(f)}function p(f){a.onWheelEvent(f)}function m(f){a.onMouseDblClick(f)}function _(f){a.onMouseClick(f)}window.addEventListener("mousemove",c,!1),document.body.addEventListener("mousedown",h,!0),document.body.addEventListener("mouseup",u,!0),document.body.addEventListener("wheel",p,!0),document.body.addEventListener("dblclick",m,!0),document.body.addEventListener("click",_,!0);function g(){requestAnimationFrame(g),a.update(),s.update(),r.position.x=t.position.x,r.position.z=t.position.z,i.render(e,t)}Gg(),g()}Vg(); + `,variables:{limit:5,offset:0,network:"ethclassic",from:"2024-04-05T10:04:56.000Z",till:"2024-04-05T10:34:56.999Z",dateFormat:"%Y-%m-%d"}})}function Vg(){let n=mm();const e=n.scene,t=n.camera,i=n.renderer,r=n.lights,s=new Mm(e,t),a=new bm(e,t,s);let o="https://res-lenses-backend.resilientdb.com/getData_RESDB",l="https://res-lenses-backend.resilientdb.com/getData_ETH";Fs(o,f=>{s.loadData(f),a.isDataLoaded=!0,fetch("../tooltips.json").then(d=>d.text()).then(d=>{let b=JSON.parse(d);kg(s,a,f,b,o,l)})});function c(f){a.onMouseMove(f)}function h(f){a.onMouseDown(f)}function u(f){a.onMouseUp(f)}function p(f){a.onWheelEvent(f)}function m(f){a.onMouseDblClick(f)}function _(f){a.onMouseClick(f)}window.addEventListener("mousemove",c,!1),document.body.addEventListener("mousedown",h,!0),document.body.addEventListener("mouseup",u,!0),document.body.addEventListener("wheel",p,!0),document.body.addEventListener("dblclick",m,!0),document.body.addEventListener("click",_,!0);function g(){requestAnimationFrame(g),a.update(),s.update(),r.position.x=t.position.x,r.position.z=t.position.z,i.render(e,t)}Gg(),g()}Vg(); diff --git a/dist/index.html b/dist/index.html index 04339483..5d1146c5 100644 --- a/dist/index.html +++ b/dist/index.html @@ -7,7 +7,7 @@ - + diff --git a/js/dashboard.js b/js/dashboard.js index 25252c61..fa281e45 100644 --- a/js/dashboard.js +++ b/js/dashboard.js @@ -25,10 +25,10 @@ export function startScene() { // default file // let file = "https://raw.githubusercontent.com/gjnguyen18/utxo-lenses/master/transformed_data2.json" // let resDBLink = "http://localhost:3080/getData_RESDB" - let ethLink = "http://localhost:3080/getData_ETH" + // let ethLink = "http://localhost:3080/getData_ETH" let resDBLink = "https://res-lenses-backend.resilientdb.com/getData_RESDB" - // let ethLink = "https://res-lenses-backend.resilientdb.com/getData_ETH" + let ethLink = "https://res-lenses-backend.resilientdb.com/getData_ETH" // console.log(encodeURIComponent("http://127.0.0.1:5501/api/v1/?startTime=2022-11-01T00:00:00Z&endTime=2023-11-30T23:59:59Z"))