Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct setup #163

Open
layinka opened this issue Jul 18, 2020 · 4 comments
Open

Correct setup #163

layinka opened this issue Jul 18, 2020 · 4 comments

Comments

@layinka
Copy link

layinka commented Jul 18, 2020

Hi,
I have tried setting up the transfer server for a fiat stablecoin i am working on.
I had to figure out by going through the code some environment variables needed to get things to work, i think they should all be listed in one place , if not developers will not know they are needed.

After all that though, SEP validation using the stellar.validator is still failing, please are there any more steps needed to get everything working, becuase i notcied that test.apay.io is passing all the tests.

You can see my test results here

https://anchor-validator.stellar.org/?home_domain=stellar.zarclays.com/&mainnet=false&project=SEP24

@s-a-y
Copy link
Contributor

s-a-y commented Jul 19, 2020

For this one:
❌ TOML File > fields > has issuer documentation

add stellar.toml to /config folder with content like

[DOCUMENTATION]
ORG_NAME="Can be provided upon request"
ORG_DBA="Papaya"
ORG_URL="https://apay.io"
ORG_LOGO="https://beta.apay.io/assets/img/papaya_logo.svg"
ORG_DESCRIPTION="Leading Stellar anchor"
ORG_PHYSICAL_ADDRESS="Can be provided upon request"
ORG_PHYSICAL_ADDRESS_ATTESTATION="Can be provided upon request"
ORG_PHONE_NUMBER="Can be provided upon request"
ORG_PHONE_NUMBER_ATTESTATION="Can be provided upon request"
ORG_KEYBASE="apay.public"
ORG_GITHUB="apay-io"
ORG_OFFICIAL_EMAIL="support@apay.io"

[[PRINCIPALS]]
name="Sergey Yusupov"
email="s@apay.io"
telegram="umbre1"
twitter="uniqbiun"
keybase="umbrel"
github="s-a-y"

For the rest I think you need to pull latest changes from master, these fixes were merged recently.
Thanks for your suggestion regarding env variables, you're right, I'm going to start working on some docs whenever I have time.

@layinka
Copy link
Author

layinka commented Jul 20, 2020 via email

@layinka
Copy link
Author

layinka commented Jul 22, 2020

These are the env variables i have found, are there any?

DATABASE_URL=
TYPEORM_TYPE=
TYPEORM_URL=
TYPEORM_HOST=127.0.0.1
TYPEORM_USERNAME=
TYPEORM_PASSWORD=
TYPEORM_DATABASE=APayTransfer
TYPEORM_PORT=1433
TYPEORM_LOGGING=true
TYPEORM_SYNCHRONIZE=true
TYPEORM_ENCRYPT=false

REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASS=
REDIS=redis://:@localhost:6379

BITGO_ACCESS_TOKEN=
BITGO_TBTC_WALLET_ID=
BITGO_TBTC_WALLET_PASS=


JWT_SECRET=myjwtsecret
NOTIFICATION_SECRET=notif_seecr
STELLAR_NETWORK_PASSPHRASE="Test SDF Network ; September 2015"
# Signing key
SEP10_SIGNING_KEY= xx
STELLAR_SECRET_xx =SAEIZQD3MISBAPJVTDECMAOBDX7UBUAHU5NPEGTGWD4HREP2OCEVQKK5

FRONT_URL=http://localhost:4200

PORT=3001

Withdrawal and Deposits still not working for me, what else do i have to do?

@s-a-y
Copy link
Contributor

s-a-y commented Jul 24, 2020

There are few more env variables, but those are not important for normal functioning of the system.

If you contact me on t.me/umbre1 or keybase.io/umbrel I can help you debug. Deposit and withdrawal endpoints just return the url to your frontend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants