mirror of https://github.com/embarklabs/embark.git
docs(deployment): add chainstack example
This commit is contained in:
parent
27bd574406
commit
e1496a98a2
|
@ -223,3 +223,24 @@ module.exports = {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Deploying to s
|
||||||
|
|
||||||
|
Embark can also connect to managed nodes deployed via Chainstack. To configure the web3 provider, use the following code.
|
||||||
|
|
||||||
|
```
|
||||||
|
module.exports = {
|
||||||
|
testnet: {
|
||||||
|
deployment:{
|
||||||
|
accounts: [
|
||||||
|
{
|
||||||
|
// your accounts here, see above for details
|
||||||
|
}
|
||||||
|
],
|
||||||
|
host: "PROJECT-ID.p2pify.com",
|
||||||
|
port: false,
|
||||||
|
protocol: 'https',
|
||||||
|
type: "rpc"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue