bts-cm / beet_api Goto Github PK
View Code? Open in Web Editor NEWAn ElysiaJS based API for generating Bitshares Beet wallet deeplinks
License: MIT License
An ElysiaJS based API for generating Bitshares Beet wallet deeplinks
License: MIT License
bun run compile
$ bun build --compile ./src/index.tsx --outfile beet_api --external bytebuffer
[1216ms] bundle 176 modules
[451ms] compile beet_api
./beet_api
warn: Invalid source index value
/beet_api/node_modules/bytebuffer/dist/bytebuffer.js:1:0 1SyntaxError: Unexpected token '*'. import call expects one or two arguments.
at /beet_api/node_modules/bytebuffer/dist/bytebuffer.js:3:11
At the moment, the data fetching scripts are run once before compiling the beet_api, however it's entirely possible for new blockchain data to be created after compilation and we'd be missing out on this info.
We should perhaps move away from solely pre-compilation data fetching, to during runtime scheduled data fetching.
We can use the following elysiajs package to schedule regularly fetching the data, if being run on a server for example.
If an asset/offer/account which is associated with a blocked scam account is requested from the BEET API, we should consider responding either with a blank response, an error, or inject a field indicating the object is associated with a blocked account.
This way we can either avoid showing blocked user content entirely, or the UI can warn the user that they're interacting with a suspicious blockchain account.
Add optional (default enabled) compression to every endpoint to reduce total page request payload size
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.