top of page

Create your Own

On Fusion there is (in addition to FSN), currently two types of fungible assets being used, fusion assets and FRC20s. To create your own Fusion asset is extremely easy. It can currently be done through MyFusionWallet and Dopamine.

Eub81tGXYAIVOmv.jfif

The picture displays the asset creation screen in Dopamine. Here you choose the things you want to be unique for your asset, such as the Assets Name and the Asset Symbol. You also choose the Total Supply. For Asset Decimal I would recommend to always use 18, as this is the standard. Picking something else might do weird things to display in an app that counts wei instead of full value. There is also an option to choose of the asset is "Fixed" or "Changeable".

 

The dynamics of "Changeable supply" don't really have support in any currently available apps, so I'd avoid using this unless you really know what you're doing and making the supply "Fixed" makes it more trustworthy.

In order for an asset to get any kind of recognition, you'd need to contact FSNEX, so that the asset contract can be connected with an SVG-file that displays the appearance/logo of your token.

An asset does not necessarily need common recognition to be useful though. If its use is only intended for a small amount of people, it's enough that these people are aware of it, and recognize its use.

Create your own FRC20

This is a bit more advanced (but no harder than doing it on Ethereum!) and requires you to deploy code outside an easy to use app or wallet. The current advantage is that you can easily use it to create your own LP-contract on AnySwap, which in turn ties your token to the whole crypto market, giving it actual value (assuming someone gives it liquidity).

To deploy you can use https://remix.ethereum.org/ while connected to the Fusion mainnet with Metamask. The code to deploy is easily forked from the ANY-token contract.https://github.com/anyswap/anyswap-token/blob/master/contracts/AnyswapToken.solort this code into a file and call it TheNameOfYourToken.sol. There are a couple of things you need to change in the contract. These are: 1. "AnySwapToken" into "TheNameOfYourToken" on line 595. 2. "AnySwap" into "YourProjectName" on line 597. 3. "ANY" into "YourTickerName" on line 597. 4. and "1e26" on line 599 into "YourTokenSupply" (Where 1e18 = 1 token, 1e19 = 10 tokens 1e20 = 100 tokens, etc).

Once these edits are done, you can begin to reconfigure Remix to fix Fusion. 1. "Enviornment" should be "injected Web3" 2. "Compiler" should be "0.5.4" and 3. "Evm version" should be Byzantium. 

After these changes are made upload put everything in TheNameOfYourToken.sol and compile this code.

Once done you're ready to deploy. Deploying will come with many options. Pick the "TheNameOfYourToken.sol" option.

Done!

Now, check out your deployed contract through your associated wallet. Then get yourself to AnySwap and search for this contract in the manual search fields in the "Create Exchange" option under "Pool". This is where you can create your very own LP-contract for your token.

This won't make it automatically easy to find on AnySwap though. For this you will need AnySwap to offivcially add your token. But even without official listing you can add liquidity to the contract by manually searching for it in the manual search fields in the token choosing menus all over AnySwap. Once you search for the token, it will appear in AnySwap display without a coin icon for a limited amount of time. If it dissapears and you need to get to it again, just search for it again.

bottom of page