'Ello! I'm Lyudmil.
developer
'Ello! I'm Lyudmil.
developer
Add documentation
each of the integration check - expectations, input/output and how to run
add main readme.md
A total classic error is that people will receive money, make a XCC, the XCC will fail, and they will forget to return the funds to the user.
I honestly saw this happening a bunch of times, specially in the NFT context, were people will receive money, ask to mint an NFT, the mint will fail, and now the user does not have neither the money nor the NFT.
We need to test this:
We ask the user to create a contract that takes attachedDeposit and bridges it to another fixed contract (e.g. validator.test) while keeping track of the total user's deposits.
In code:
deposit(number){
xcc to stake the money in "validator.test"
callback(deposit_attached)
}
callback_handler(deposit_attached){
if error
return money
}else{
this.deposit[user] += amount_staked
}
}
deposit_for(account){
this.deposit[user]
}
We need to make sure using batch calls that the user is NOT making this:
deposit(number){
this.deposit[user] += amount_staked
xcc to stake the money in "validator.test"
callback(deposit_attached)
}
callback_handler(deposit_attached){
if error
this.deposit[user] -= amount_staked
return money
}
}
deposit_for(account){
this.deposit[user]
}
Test that the people understand how to:
Evaluating nested collections is also a great way to remember people that:
They need to use different sufixes for their collections
They can combine native collections with SDK collections
We can take the test from complex_input
, and simply ask the user now to also store it in the contract.
So they need to both:
complex_input
test.complex_input
.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.