docs(deployment): add chainstack example

This commit is contained in:
Your Name 2019-07-18 18:48:39 +08:00 committed by Pascal Precht
parent 27bd574406
commit e1496a98a2
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 22 additions and 1 deletions

View File

@ -2,7 +2,7 @@ title: Accounts & Deployment
layout: docs layout: docs
--- ---
Embark is very flexible when it comes to configuring wallet accounts for deployment. Whether we want to deploy from generated node accounts, or our own key store file. In this guide we'll take a closer look at how to configure wallet accounts for deployment of Smart Contracts. Embark is very flexible when it comes to configuring wallet accounts for deployment. Whether we want to deploy from generated node accounts, or our own key store file. In this guide we'll take a closer look at how to configure wallet accounts for deployment of Smart Contracts.
## Specifying a deployment account ## Specifying a deployment account
@ -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"
}
}
}
```