Jump to content

Json and toml file configuration for a stable coin


Recommended Posts

Posted (edited)

Hey guys. New here. Nice to meet you all. In advance.  I'm not a rookie when it comes to coding. Still no big time pro....

 

But. My problem. Is I minted a coin. BIGB. The future greatest meme coin in the world. Jks

But having a real hard time finding proper documentation on the whole process.  Most of which I figured out. 

Now I'm creating my toml and json files to upload to my domain. I had all the links needed with the relevant info saved...  long story short. I lost them. And have been searching all over xrpl.org and other sites to find example code for this specific purpose. But can't seem to. I want to ensure that I create these files to the best standards I can. To make the coin as functional as possible.  And containing all the pertinent information needed. 

A couple side notes./ questions

Looking for info also. On

Master key and or blackhole the account to make to total amount of the coin fixed. But... put a small fee on my coin. And want to either send that fee to another account.  Or still have access to the funds created by the fee in the issuer account.  While still having the total amount of coins fixed. And documentation on exactly what each of those do. And the left over functionality of the account afterwards is vague at best. I know blackholed accounts are visible only. And mixed reviews on destroying the master key. Some say I can still use the account for other coins. Some say no. Answers... please 

 

I believe I can do this with an account set transaction.  And I'm great at modifying examples . Just can't find any..  

 

Any help would be greatly appreciated 

Check out the coin

Https://www.Bigbluegorilla.dev

Anyone who can help me. Gets free coins! Lol but seriously 

It's the last step before I list on exchanges. One of... the last steps 😀

Edited by 3DOGJOE
Link to comment
Share on other sites

A lot of questions, I'll address this bit for now:

6 hours ago, 3DOGJOE said:

Master key and or blackhole the account to make to total amount of the coin fixed. But... put a small fee on my coin. And want to either send that fee to another account.  Or still have access to the funds created by the fee in the issuer account.  While still having the total amount of coins fixed.

I think you're talking about the transfer fee, right? https://xrpl.org/transfer-fees.html

Transfer fees are effectively paid back to the issuing account, i.e. they decrease the amount of the token in circulation.

So they aren't really compatible with a token with a fixed amount, because they will cause the amount to decrease over time.

If the issuing account is blackholed, you won't be able to get any direct benefit from the fee. The fee is really intended for tokens backed by real-world assets, for which the issuing account is not blackholed, by design.

If the account is truly blackholed, you won't be able to do anything with it at all once it has been blackholed, including issuing more tokens.

Blackholing the account doesn't involve "destroying" the master key, it involves disabling it, after setting the regular key to a known blackhole address (see Special Addresses https://xrpl.org/accounts.html#special-addresses). If you do that, it will be unreversible.

Link to comment
Share on other sites

1 hour ago, at3n said:

A lot of questions, I'll address this bit for now:

I think you're talking about the transfer fee, right? https://xrpl.org/transfer-fees.html

Transfer fees are effectively paid back to the issuing account, i.e. they decrease the amount of the token in circulation.

So they aren't really compatible with a token with a fixed amount, because they will cause the amount to decrease over time.

If the issuing account is blackholed, you won't be able to get any direct benefit from the fee. The fee is really intended for tokens backed by real-world assets, for which the issuing account is not blackholed, by design.

If the account is truly blackholed, you won't be able to do anything with it at all once it has been blackholed, including issuing more tokens.

Blackholing the account doesn't involve "destroying" the master key, it involves disabling it, after setting the regular key to a known blackhole address (see Special Addresses https://xrpl.org/accounts.html#special-addresses). If you do that, it will be unreversible.

Yes. It seems the more I learn.. the more there is to learn.. lol

 

Yes I realized you are correct.  I had the fee active. But it was simply burning my token. Which was not my objective.  I wanted to set a 1% transfer fee. Payable in xrp, and to be directed to an account other than the issuer.  But , I think this is beyond my ability and knowledge for the moment. Since I want to launch in a week or less. And this is the only thing really holding me up. It will be in the 2.0 version

 

And I do plan on blackholing the account just for added trust and security.  I did blackhole 1 account. I hope I never get an airdrop to that address ha. 

If anyone knows more details on disabling the master key. I'm all ears

 

Did finally find some more info on github

 

If you want some coins hit me up on Twitter 

https://twitter.com/BIGBLUEGORILLA_

Link to comment
Share on other sites

xumm.community has a lot of features including the ability to set regular key and disable master, if you don't want to code it yourself.

Have you considered trying all of this on testnet first for free? Then you could really get a feel for what's going on.

Link to comment
Share on other sites

Got the toml and json configured. 

Did find info on github eventually 

Now . I attempted to set up the cors header on Google Cloud. And added some Cname and txt dns settings on my Google domain... now I'm waiting to see if it propagates. Hopefully so lol

Or another day of troubleshooting 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...