Raft is a web application that uses FCL to run Cadence transactions and scripts from open-source GitHub repositories.
Raft aims to simplify sharing and composability on Flow by creating an effortless dapp delivery platform that uses open-source and blockchain as source-of-truth. Raft’s vision is to provide a platform that eliminates the need to create explicit Frontend/Backend systems by delivering dapps to users directly from open-source GitHub repositories containing Cadence code.
You can open any public repository by replacing github.com
with raft.page
Raft is compatible with most Cadence repositories. Some repositories you can try:
- https://raft.page/dapperlabs/nft-catalog
- https://raft.page/emerald-dao/float
- https://raft.page/crash13override/flovatar
- https://raft.page/Flowtyio/lost-and-found
- https://raft.page/onflow/nft-storefront/
- https://raft.page/nvdtf/flow-contract-auditor-sample
There is no explicit configuration needed. Please make sure deployment addresses are specified in the flow.json
file.
As a demo, you can claim a special FLOAT through Raft!
- scripts/get_event.cdc Displays event data for the Raft FLOAT.
- scripts/has_claimed_event.cdc
Checks if the event has been claimed by given user. Set
accountAddress
to your own account's address. - transactions/claim.cdc
Claims FLOAT. For this FLOAT, set
eventId
to698959814
and the host address to0xbf9acaa0b935d9cd
. Leave thesecretSig
argument empty.
Note that this repository uses hard-coded import addresses, so it won't work on testnet.