COLORS-Blockchain

COLORS-Blockchain

Use of Cadence, the new programming language that makes smart contract development faster, safer. This project provides the overall info regarding usage of Cadence for Blockchain.

The problem COLORS-Blockchain solves

Colors-Flow-Hackathon-

Flow is a new blockchain originally designed and developed by Dapper Labs, the makers of CryptoKitties and NBA Top Shot.
image

• Cadence, the new programming language that makes smart contract development faster, safer

• Flow Client Library (FCL), it is analogous to Web3.js on Ethereum, but built for the consumer audience in mind

• Flow multi-node architecture, future-proof scaling for the mainstream adoption
image

Mainstream ready.

Trusted by world class brands including NFL, NBA, Ticketmaster, and Mattel. Flow provides frictionless onboarding,
with easy user registration like social logins, familiar payment methods, and the option to use any wallet of choice.
Flow is mobile-ready to bring web3 to your community everywhere, allowing seamless user experience across iOS and Android platforms.
image

Utility driven.

User-centric account model provides world-class security, safety and recoverability of accounts.
While it's easy to use resource-oriented programming language, Cadence, makes smart contract development faster
and allows for more on-chain utility.
image

Battle-tested.

Flow is a highly scalable permissionless blockchain designed for massive throughput.
It's resilient architecture has 99.99%+ uptime and 300M+ transactions and counting.
image

Challenges we ran into

Cadence was new to us.....and it was very difficult to learn Cadence in a shorrt amount of time.

Cadence

Cadence is a resource-oriented programming language that introduces new features to smart contract
programming that help developers ensure that their code is safe, secure, clear, and approachable.
Some of these features are:

*Type safety and a strong static type system.

*Resource-oriented programming, a new paradigm that pairs linear types with object capabilities to
create a secure and declarative model for digital ownership by ensuring that resources (which are
used to represent scarce digital assets) can only exist in one location at a time, cannot be copied,
and cannot be accidentally lost or deleted.

*Built-in pre-conditions and post-conditions for functions and transactions.

*The utilization of capability-based security, which enforces that access to objects is restricted to
only the owner of the object and those who have a valid reference to it. This is Cadence's main form of access control.

image

#Solution

We used stackoverflow and referred some websites to debug few errors.

Tracks Applied (1)

Extending the Ecosystem

Our app enables great flexibility to users and henceforth offers fast and accurate results to the user with the help of ...Read More

Discussion