Comments (2)
Here you are:
Doc is here: https://docs.dydx.trade/developers/clients/validator_client#configuring-a-network
And my works code here as below:
`const indexerConfig = new IndexerConfig(
'https://indexer.dydx.trade',
'wss://indexer.dydx.trade/v4/ws'
);
const denomConfig = {
USDC_DENOM: 'ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5',
USDC_DECIMALS: 6,
USDC_GAS_DENOM: 'uusdc',
CHAINTOKEN_DENOM: 'adydx', //string
CHAINTOKEN_DECIMALS: 18 //integer
};
const validatorConfig = new ValidatorConfig(
'https://dydx-ops-rpc.kingnodes.com',
'dydx-mainnet-1',
denomConfig
);
const custom_network = new Network(
'custom-network-name',
indexerConfig,
validatorConfig
);
_indexClient = new IndexerClient(custom_network.indexerConfig);
_validatorClient = await ValidatorClient.connect(custom_network.validatorConfig);
_compositeClient = await CompositeClient.connect(custom_network);`
from v4-clients.
Same Problem Here, Rewards Are Live But the SDK is not updated for mainnet usage...
from v4-clients.
Related Issues (20)
- get.py grpc_message:"DNS resolution failed... HOT 8
- when will v4 rust sdk be out HOT 2
- Error in react-native ("Restricted in strict mode ") HOT 2
- NestJS run on Docker issue HOT 1
- OrderId HOT 2
- getOrder requires uuidv5 HOT 2
- Place Order question HOT 2
- Invalid subscription id error when fetching candles data HOT 2
- js client - CompositeClient.placeOrder hanging with invalid ticker -- should throw HOT 1
- UNCLEAR ON PLACING MARKET ORDER IN V2 PY HOT 6
- as_json wrapper error when running basic_adder example HOT 5
- Add IBC transfers to v2 client HOT 1
- Candle data through python client REST request is incomplete HOT 10
- DNS resolution fails on "Domain name not found" when connecting to MAINNET HOT 6
- Tests failing for python client from tag 1.1.31 HOT 6
- Sequence manager question HOT 3
- pip install dydx-v4-client fails on ubuntu with error "Failed building wheel for ed25519-blake2b" HOT 3
- Add the batch_cancel example HOT 1
- Add missing OrderStatus to v2 python client HOT 1
- conda-forge packaging difficulties HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v4-clients.