一个用于收发红包的status app扩展,受限于status扩展底层基础功能还不太完善,实现方式从简。 在线demo视频戳这里
qfrank / red-packet Goto Github PK
View Code? Open in Web Editor NEW一个用于收发红包的status app扩展,受限于status扩展底层基础功能还不太完善,实现方式从简
一个用于收发红包的status app扩展,受限于status扩展底层基础功能还不太完善,实现方式从简
一个用于收发红包的status app扩展,受限于status扩展底层基础功能还不太完善,实现方式从简。 在线demo视频戳这里
0xf0CEFfc4209e38EA3Cd1926DDc2bC641cbFFd1cF does not exist in mainnet, only in Rinkeby.
Pass this information on the constructor or do a check of require(0xf0CEFfc4209e38EA3Cd1926DDc2bC641cbFFd1cF.codesize>0);
for the DOSBridge .
Anyone can read the transaction history and therefore figure out the password.
The challenge should be configured with the value hashed offchain, and directly saved.
When the reveal is done, anyone could be looking at transactions broadcasted, and steal the prize by front running the transaction with a higher gas price.
Suggested solution would be to create a commit-reveal procedure to mitigate this problem. A user could first calculate a hash of the password with a random number, and later reveal the password with the random number.
function _addJoin performs a transfer before changing storage in case the funds are over for that challange.
This is generally a bad practice that could lead to reentrancy attacks.
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.