What Is ConfluxPortal
Welcome to ConfluxPortal's Developer Documentation. ConfluxPortal is Conflux version of MetaMask. This documentation is for learning to develop applications for ConfluxPortal.
You can find the latest version of ConfluxPortal on the github release page and installation instructions in this issue.
For help using ConfluxPortal, submit issues in our github repo.
To learn how to contribute to the ConfluxPortal project itself, visit our Internal Docs.
Why ConfluxPortal?
ConfluxPortal was created out of the needs of creating more secure and usable Conflux-based web sites. In particular, it handles account management and connecting the user to the blockchain.
Account Management
ConfluxPortal allows users to manage accounts and their keys in a variety of ways, including hardware wallets, while isolating them from the site context. This is a great security improvement over storing the user keys on a single central server, or even in local storage, which can allow for mass account thefts.
This security feature also comes with developer convenience: For developers, you simply interact with the globally available conflux
API that identifies the users of web3-compatible browsers (like ConfluxPortal users), and whenever you request a transaction signature (like cfx_sendTransaction
, cfx_signTypedData
, or others), ConfluxPortal will prompt the user in as comprehensible a way as possible, allowing them to be informed, you to have a simple API, and attackers left trying to phish individual users rather than performing mass hacks, although DNS hacks can still be used for phishing en masse.
Blockchain Connection
ConfluxPortal comes pre-loaded with nice and fast connections to the Conflux blockchain and conflux test networks. This allows users to get started without synchronizing a full node, while still providing the option to upgrade their security the blockchain provider of their choice over time.
Today, ConfluxPortal is compatible with any blockchain that exposes an Conflux Compatible JSON RPC API, including custom and private blockchains. For development, we recommend running a test blockchain like conflux-local-network-lite.
Blockchain Applications
ConfluxPortal makes it easy to write user interfaces to blockchain-based smart contract systems. You can accept payments without knowing how to write smart contracts, but you'll be able to do much more interesting things if you do.
New Dapp Developers
We recommend this Learning Solidity tutorial series by Karl Floersch.
Last updated