menu

Aragon

Aragon is the most powerful and modular way to run DAOs

Channels
# All channels
view-forward
# Announcements
view-forward
# App development
view-forward
# Aragon Agent
view-forward
# Aragon Client
view-forward
# Aragon Connect
view-forward
# aragonOS
view-forward
# aragonUI
view-forward
# Feature requests
view-forward
Team

Is it possible to use a customized token instead of the MiniMe token?

April 7, 2020 at 3:45pm
The Aragon community has a new home. This thread is preserved for historical purposes. The content of this conversation may be innaccurrate or out of date. Go to new community home →

Is it possible to use a customized token instead of the MiniMe token?

April 7, 2020 at 3:45pm
For example, it seems that MiniMe token is not capped (on total supply), but I need to set a cap. Or, may I have an ERC20 token with some extra custom methods?

April 7, 2020 at 4:59pm
Hi Amir, having a custom token is absolutely possible with Aragon as long as it implements the MiniMeToken interface. You could quite easily fork the Aragon's implementation of the MiniMeToken and modify its generateToken() function to add a supply cap.
  • reply
  • like
But, how can I add it to my dao? the dao token command seems to only use the default MiniMeToken.
  • reply
  • like
It seems like I should deploy the token factory here first, and then pass the contract address to the dao token command. Is that right?
Edited
  • reply
  • like
As long as you deploy an instance of your token, you can set up the Token Manager or Voting to use that cusotm token by providing its address in the initialization arguments.
We don't (really, can't) do any sanity checks in the initialization though, so you should double check your token conforms to the MiniMeToken interface via some testing first!
  • reply
  • like
As long as you deploy an instance of your token, you can set up the Token Manager or Voting to use that cusotm token by providing its address in the initialization arguments.
We don't (really, can't) do any sanity checks in the initialization though, so you should double check your token conforms to the MiniMeToken interface via some testing first!
Yes exactly. For example, you can see in this guide how to manually install a TokenManager. Specifically, the following command lets you designate the MiniMeToken contract address of your choice during the initialization:
dao exec <dao-address> <token-manager-address> initialize [token-address] false 1
Edited
  • reply
  • like

July 2, 2020 at 5:50pm
Hi Amir, having a custom token is absolutely possible with Aragon as long as it implements the MiniMeToken interface. You could quite easily fork the Aragon's implementation of the MiniMeToken and modify its generateToken() function to add a supply cap.
MiniMeToken is spending a crazy amount of gas for transfers. I'm seeing 140k in gas to send 1*10^18 vs half that on other erc20s. Are there any implementations that reduce the gas spent?
  • reply
  • like
As far as I know, there's unfortunately no other implementation that would be less costly. One possible solution would be to use the Aragon Chain when it's released. It will be much more efficient for token transfers and voting.
  • reply
  • like