Getting started
Fiber is a realtime blockchain. What makes Fiber special?
- Native EVM: Any application built for Ethereum/Polygon/etc. can be easily deployed to Fiber without code changes.
- Realtime: Transaction are confirmed within 20ms thanks to preconfirmations.
- MEV-resistant: Fiber offers developers the ability to build MEV-resistant applications thanks to application specific ordering.
- Solid: Solid is an offchain solidity runtime made for Fiber.
Quickstart
Let's create a new token on Fiber.
NewToken.sol
import "fiber-std/ERC20.sol";
contract Main {
function main() public {
ERC20 token = new ERC20("Test", "TEST", 1000000);
Console.log("Token deployed");
Console.logAddress(address(token));
}
}
Now we need to deploy the contract to Fiber.
solid run NewToken.sol