Includes the contracts currently in use by near-faucet.io representing faucet, vault, FT contract, and a FT contract factory.
Be advised that those are non audited contracts for educational purposes only
- factory_contract - factory that allows users to create sub-accounts and deploy precompiled FT contract with provided metadata
- faucet_contract - token faucet (FT and Native Near)
- ft_contract - an FT contract that's being deployed by the factory contract
- vault_contract - vault to store the surplus of native tokens in the faucet
In order to compile and run everything you will need:
- Node and near-cli installed
- Rust and WASM toolchain steps here
NEAR - NEAR Docs - Nomicon - Discord - AwesomeNear