fleet-sdk / docs Goto Github PK
View Code? Open in Web Editor NEW๐ Documentation for Fleet SDK
Home Page: https://fleet-sdk.github.io/docs
License: MIT License
๐ Documentation for Fleet SDK
Home Page: https://fleet-sdk.github.io/docs
License: MIT License
The idea behind this chapter is to give the reader some initial concepts so that they can better follow the documentation and so that the documentation doesn't have to be repetitive about concepts.
value
, ergoTree
, assets
, and so on)value
and assets#amount
should be handled as integer rather than decimals.decimalize()
and undecimalize()
functions from @fleet-sdk/common
package to represent box integers as decimals.inputs
, dataInputs
, outputs
, and transacionId
)I don't have any experience with TypeScript. So, I thought I'd try to run the examples. It seems to me that a soup to nuts installation and running guide would be helpful. I'm making notes to write this up, as I'm trying to figure it out. This is what I have thus far.
On Windows, I did the following:
As Admin in Powershell:
choco install nodejs-lts
Cmd.exe to check installation:
node -v
npm -v
Adding fleet:
npm install @fleet-sdk/core
Also updated npm:
npm install -g [email protected]
These are the prerequisites for creating a New Project > Typescript Console Application in Visual Studio.
On WSL Ubuntu on Windows, I did the following:
Install LTS, since the apt-get repo is too old
$ curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
$ sudo apt-get install nodejs
$ node --version
$ sudo npm install -g [email protected]
$ sudo npm install -g typescript
So, I then try doing some of the scripts in the tutorial and turn it to javascript:
$ tsc sample.ts
Them I get several errors that look like this:
../../../node_modules/@fleet-sdk/core/dist/esm/models/collections/collection.d.ts:1:56 - error TS2304: Cannot find name 'Iterable'.
scratch.ts:18:19 - error TS1378: Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.
This issue describes a skeleton roadmap for the tutorial that will serve future developers in joining the ecosystem.
To build out a tutorial/course that provides developers clarity on utilizing fleet-sdk.
At the end of the tutorial, developers should be able to:
(Note that this is a non-exhaustive list, meaning there can be more as we go, please comment for suggested tutorial)
Each tutorial should be:
[ ] - 50 SigUSD for Milestone.1, MileStone.2, MileStone.3
[ ] - 100 USD for Milestone.4
[ ] - 75 SigUSD for MileStone.5 and MileStone.6
[ ] - 100 SigUSD for MileStone.7
[ ] - 100 SigUSD for MileStone.8
[ ] - 125 SigUSD for MileStone.9
[ ] - 150 SigUSD for MileStone.10
[ ] - 125 SigUSD per examples in MileStone.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.