We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hellow. Please help me what I'm doing wrong. I have an invalid signature every time. I use only examples.
in in file user.js const user = { address: 'e93184364e00D49E37B80014e7F247fbeEA71Bdd', privateKey: '9570c1f9b...' //my 64 char ETH private key... }
in config.js const config = { API_URL: 'https://api.switcheo.network/v2', CONTRACT_HASH: '0x6ee18298fd6bc2979df9d27569842435a7d55e65' }
in file exampleOrderParams.js { pair: 'SWTH_ETH', blockchain: 'eth', address: user.address, side: 'buy', price: (0.0001).toFixed(8), wantAmount: toAssetAmount(200.5, 'SWTH'), useNativeTokens: true, orderType: 'limit', privateKey: user.privateKey }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hellow.
Please help me what I'm doing wrong. I have an invalid signature every time. I use only examples.
in in file user.js
const user = {
address: 'e93184364e00D49E37B80014e7F247fbeEA71Bdd',
privateKey: '9570c1f9b...' //my 64 char ETH private key...
}
in config.js
const config = {
API_URL: 'https://api.switcheo.network/v2',
CONTRACT_HASH: '0x6ee18298fd6bc2979df9d27569842435a7d55e65'
}
in file exampleOrderParams.js
{
pair: 'SWTH_ETH',
blockchain: 'eth',
address: user.address,
side: 'buy',
price: (0.0001).toFixed(8),
wantAmount: toAssetAmount(200.5, 'SWTH'),
useNativeTokens: true,
orderType: 'limit',
privateKey: user.privateKey
}
The text was updated successfully, but these errors were encountered: